Re: Adding more localized *.strings
Re: Adding more localized *.strings
- Subject: Re: Adding more localized *.strings
- From: James Blair <email@hidden>
- Date: Thu, 3 May 2007 09:36:55 -0500
Laurence Harris <email@hidden> wrote on 05/03/2007 12:45:11 AM:
>
> On May 2, 2007, at 6:14 PM, James Blair wrote:
>
> >> But you can do it for the application that's using your framework. If
> >> the application doesn't have Italian resources I wouldn't expect the
> >> system to use yours.
> >
> > Bingo. The application wasn't claiming support for the recently added
> > languages, only for the original localizations. Doing a Get Info and
> > looking in the Languages didn't tell me anything (the pane was
> > empty), but
> > Show Package Contents on the app revealed the file Contents:Info.plist
> > which listed supported localizations.
>
> I've never heard of that and it doesn't seem to be standard (Safari
> and Mail don't have an entry for that in their plists). The supported
> languages should be those with corresponding .lproj folders in the
> Resources folder.
I think my application is unique in that a language is chosen at install
time, and once that choice is made, no additional language resources are
installed.
> > Surprise - the app included all the
> > original localizations, but none of the new ones. Adding new
> > values to
> > the localization attribute resolves the problem, and allows all of the
> > localizations (new and old) to behave as expected.
>
> What is the key in the plist?
CFBundleLocalizations, an array of string values. ( 0=en, 1=fr, 2=ja,
3=it, etc.)
-- James
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden