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" <ddavi...@apple.com> wrote:

> 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 <arun...@gmail.com> wrote:
>
> > 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 <ke...@33software.com>
> 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 (Cocoa-dev@lists.apple.com)
> >>
> >> 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 arun...@gmail.com
> > _______________________________________________
> >
> > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> >
> > 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/ddavidso%40apple.com
> >
> > This email sent to ddavi...@apple.com
>
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to