diff --git a/Documentation/gsdoc/NSUserDefaults.gsdoc b/Documentation/gsdoc/NSUserDefaults.gsdoc index 7846613fd..20232049c 100644 --- a/Documentation/gsdoc/NSUserDefaults.gsdoc +++ b/Documentation/gsdoc/NSUserDefaults.gsdoc @@ -64,7 +64,7 @@

- The Languages default value is used to set up the + The NSLanguages default value is used to set up the constants for localization. GNUstep will also look for the LANGUAGES environment variable if it is not set in the defaults system. If it exists, it consists of an @@ -76,7 +76,7 @@

As a special extension, on systems that support locales (e.g. GNU/Linux and Solaris), GNUstep will use information - from the user specified locale, if the Languages + from the user specified locale, if the NSLanguages default value is not found. Typically the locale is specified in the environment with the LANG environment variable. @@ -85,30 +85,50 @@ standardUserDefaults + Returns a shared instance of the class containing the standard + defaults for the process. + + userLanguages + + Returns the array of user languages preferences. Uses the + NSLanguages user default if available, otherwise + tries to infer setup from operating system information etc + (in particular, uses the LANGUAGES environment variable). + + + arrayForKey: defaultName + Looks up a value for a specified default, checks that it is + an array. Returns nil if it is not. boolForKey: defaultName + Looks up a value for a specified default, checks that it is + a boolean. Returns NO if it is not present. dataForKey: defaultName + Looks up a value for a specified default, checks that it is + an NSData object. Returns nil if it is not. dictionaryForKey: defaultName + Looks up a value for a specified default, checks that it is + an NSDictionary object. Returns nil if it is not.