Difference between revisions of "Language support"

From GNUstepWiki
Jump to navigation Jump to search
 
m (Changed example to code (for distinction))
 
(2 intermediate revisions by 2 users not shown)
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]]

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