bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [[NSUserDefaults standardUserDefaults] objectForKey:@"NSLanguages"]


From: Adam Fedor
Subject: Re: [[NSUserDefaults standardUserDefaults] objectForKey:@"NSLanguages"] returns nil
Date: Wed, 13 Jun 2001 09:43:36 -0600

Michael Scheibler wrote:
> 
> 1. NSUserDefaults userLanguages is not able to determine the right system
> language:
>   - setlocale("") returns German_Germany.1252
>   - Locale.aliases (dictionary) only maps de = German
> 
> 2. By invoking [NSUserDefaults standardUserDefaults] only, no NSLanguages
> are set. Is it necessary to do this "by hand"?
> 

By hand (using the defaults program) is good, although I just noticed a
bug, where [NSUserDefaults userLanguages] looks for "Languages" not
"NSLanguages". Perhaps you should set both for now.

We could also add an entry to the Local.aliases file.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]