Re: Localization not working based on region with en-US

2013-02-11 Thread Kevin Bracey
Sadly no, see: https://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPInternational/Articles/LanguageDesignations.html language-dialectic_locale, but is used either as language-dialectic or language_locale. The problem seems to be that the Folders used to hold the Localized

Re: Localization not working based on region with en-US, en-UK and en lproj

2013-02-03 Thread Gary L. Wade
To add British English to your list of preferred languages for succeedingly launched apps to choose from, launch System Preferences, go to the Language & Text panel, choose the Language tab, and drag British English to the top of the list. If British English is not in the list, click the Edit Li

Re: Localization not working based on region with en-US, en-UK and en lproj

2013-02-03 Thread Arun
How can we make the application to use locale based localization? The apple documentation tells that first locale based folders are searched. On Feb 3, 2013 9:45 PM, "Douglas Davidson" wrote: > The localization used is determined by matching the AppleLanguages list > against the localizations ava

Re: Localization not working based on region with en-US, en-UK and en lproj

2013-02-03 Thread Douglas Davidson
The localization used is determined by matching the AppleLanguages list against the localizations available in the application's main bundle. In this case, the top entry in AppleLanguages is en, so that is the localization that will be used. Douglas Davidson On Feb 3, 2013, at 6:56 AM, Arun

Re: Localization not working based on region with en-US, en-UK and en lproj

2013-02-03 Thread Arun
Yes i am launching the the application between changes to the region. Not sure what is Application's preference domain? How can we set/unset this? The output of the defaults command as below. *$ defaults read com.yourcompany.Hello AppleLanguages* 2013-02-03 20:22:10.317 defaults[4084:903] The do

Re: Localization not working based on region with en-US, en-UK and en lproj

2013-02-03 Thread Keith Duncan
> 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. > Are you relaunching your application between changes to the region? Does your application’s preference domain have a

Re: Localization not working based on region with en-US, en-UK and en lproj

2013-02-02 Thread Arun
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" wrote: > >> 1. en-US > >> 2. en-UK > >> 3. en > > There is no en-UK locale ID, nor an en_UK,

Re: Localization not working based on region with en-US, en-UK and en lproj

2013-02-02 Thread Keith Duncan
>> 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

Re: Localization not working based on region with en-US, en-UK and en lproj

2013-02-02 Thread Arun
Yes. I used underscores. The project directories are also correctly named On Feb 2, 2013 10:44 PM, "Kyle Sluder" wrote: > On Feb 2, 2013, at 7:25 AM, Arun wrote: > > > Hi All > > > > I have a sample cocoa application which i am trying to localize in 3 > > flavors. > > > > 1. en-US > > 2. en-UK >

Re: Localization not working based on region with en-US, en-UK and en lproj

2013-02-02 Thread Kyle Sluder
On Feb 2, 2013, at 7:25 AM, Arun wrote: > Hi All > > I have a sample cocoa application which i am trying to localize in 3 > flavors. > > 1. en-US > 2. en-UK > 3. en Docs say to use an underscore, not a hyphen. Are you sure your .lproj directories are correctly-named? --Kyle Sluder __