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 domain/default pair of (com.yourcompany.Hello, AppleLanguages) does not
exist

*$ defaults read com.yourcompany.Hello AppleLocale*
2013-02-03 20:22:13.093 defaults[4085:903]
The domain/default pair of (com.yourcompany.Hello, AppleLocale) does not
exist
*
$ defaults read -g AppleLanguages*
(
    en,
    fr,
    de,
    ja,
    es,
    it,
    pt,
    "pt-PT",
    nl,
    sv,
    nb,
    da,
    fi,
    ru,
    pl,
    "zh-Hans",
    "zh-Hant",
    ko
)

*$ defaults read -g AppleLocale*
en_US


On Sun, Feb 3, 2013 at 7:39 PM, Keith Duncan <[email protected]> wrote:

> > 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 an overridden
> AppleLanguages or AppleLocale value?
>
> What is the output of these commands:
>
> defaults read -g AppleLanguages
> defaults read -g AppleLocale
>
> defaults read $YOUR_BUNDLE_IDENTIFIER AppleLanguages
> defaults read $YOUR_BUNDLE_IDENTIFIER AppleLocale
>
> replacing the bundle identifier in the second as appropriate
>
> Cheers,
> Keith
>
> _______________________________________________
>
> Cocoa-dev mailing list ([email protected])
>
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/arun.ka%40gmail.com
>
> This email sent to [email protected]
>
_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to