Difference between revisions of "Language support"

From GNUstepWiki
Jump to navigation Jump to search
m
m (Show multiple languages in the command)
Line 1: Line 1:
You can set your preference of language using the [[defaults]] command. It takes a list of languages, with the most left one being the most preferred.
+
You can set your preference of language using the [[defaults]] command. It takes a list of languages, with the most left one being the most preferred. The list should contain at least one preferred language, otherwise GNUstep defaults to English.
Here is an example for turkish.
 
  
defaults write NSGlobalDomain NSLanguages "(Turkish)"
+
Here is an example where the user prefers Turkish, then Dutch, then English.
 +
 
 +
defaults write NSGlobalDomain NSLanguages "(Turkish, Dutch, English)"
  
 
----
 
----
 
See also: [[NSDefaults]]
 
See also: [[NSDefaults]]

Revision as of 21:55, 23 February 2005

You can set your preference of language using the defaults command. It takes a list of languages, with the most left one being the most preferred. The list should contain at least one preferred language, otherwise GNUstep defaults to English.

Here is an example where the user prefers Turkish, then Dutch, then English.

defaults write NSGlobalDomain NSLanguages "(Turkish, Dutch, English)"


See also: NSDefaults