Re: Localization not working based on region with en-US, en-UK and en lproj
Re: Localization not working based on region with en-US, en-UK and en lproj
- Subject: Re: Localization not working based on region with en-US, en-UK and en lproj
- From: Arun <email@hidden>
- Date: Sun, 03 Feb 2013 08:43:53 +0530
My project has
1. en_GB.lproj
2. en_US.lproj
3. en.lproj
Directories. Each time even if I change region setting, always strings from
en.lproj directory is displayed.
On Feb 3, 2013 2:03 AM, "Keith Duncan" <email@hidden> wrote:
> >> 1. en-US
> >> 2. en-UK
> >> 3. en
>
> There is no en-UK locale ID, nor an en_UK, the identifier for the United
> Kingdom is GB.
>
> en-GB refers to British English as used anywhere in the world
> en_GB refers to Generic English as used in the United Kingdom
>
> > Docs say to use an underscore, not a hyphen. Are you sure your .lproj
> directories are correctly-named?
>
> They don’t blanket recommend using identifiers that specify a generic
> language and region.
>
> If you localise for en_GB and a user located in the United Kingdom moves
> to America and changes their region to United States (to adopt the US date
> format and currency etc), doesn’t suddenly start speaking American English,
> and would probably prefer the application continue to use British English,
> if they’ve put that ahead of American English or plain English in their
> language order preference.
>
> Keith
>
>
> _______________________________________________
>
> 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
_______________________________________________
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