Difference between revisions of "Language support"

From GNUstepWiki
Jump to navigation Jump to search
m (Show multiple languages in the command)
m (Changed example to code (for distinction))
 
Line 3: Line 3:
 
Here is an example where the user prefers Turkish, then Dutch, then English.
 
Here is an example where the user prefers Turkish, then Dutch, then English.
  
defaults write NSGlobalDomain NSLanguages "(Turkish, Dutch, English)"
+
defaults write NSGlobalDomain NSLanguages "(Turkish, Dutch, English)"
  
 
----
 
----
 
See also: [[NSDefaults]]
 
See also: [[NSDefaults]]

Latest revision as of 01:56, 9 July 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