Re: Why I can't see my localized nib?
Re: Why I can't see my localized nib?
- Subject: Re: Why I can't see my localized nib?
- From: Gustavo Pizano <email@hidden>
- Date: Tue, 18 May 2010 22:37:08 +0200
So at app start up I can get the Application defaults objectforkey "AppleLanguages", then set array with the first object to be "sk_SK" and then push the array again back to the application defaults.. right?
And if the user selects for example English I must do the above, and restart the application to load the proper language... correct me if Im wrong please...
thx
Gustavo
On 18.5.2010, at 21:13, Frédéric Testuz wrote:
> Le 18 mai 2010 à 18:28, Joanna Carter a écrit :
>
>> Hi Gustavo
>>
>>> In this case.. is tehre anyway to let teh user choose what lang to use?.. I mean if I localize my app, but the user has no localization either, how to make the app run in a given language (i.e sk)?
>>
>> The only way I can think of is to delete the other localizations from the bundle. Maybe someone else knows better :-)
>
> You can launch the application with AppleLanguages in the arguments or in the app defaults.
>
> See :
>
> <http://www.cocoabuilder.com/archive/cocoa/3862-changing-language-at-runtime.html?q=applelanguages#3861>
>
> and
>
> <http://www.cocoabuilder.com/archive/search/1?q=applelanguages&l=cocoa>
>
> Frédéric
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden