Re: Adding more localized *.strings
Re: Adding more localized *.strings
- Subject: Re: Adding more localized *.strings
- From: James Blair <email@hidden>
- Date: Wed, 2 May 2007 17:14:11 -0500
Laurence Harris <email@hidden> wrote on 05/01/2007 11:06:24 AM:
>
> On May 1, 2007, at 11:17 AM, James Blair wrote:
>
> > Philip Aker <email@hidden> wrote on 05/01/2007 12:00:00 AM:
> >
> >>> The problem is the correctly localized strings are only displayed
> >>> when I'm running in the originally supported locales, but never in
> >>> the newly supported ones. So, English and French display the
> >>> correct localizations, but Italian does not (it falls back on
> >>> English). The question is, why?
> >>
> >> If you do a "Get Info" on you app from the Finder and view the
> >> "Languages" pane, what does it show?
> >
> > Question does not compute - I'm building a framework bundle
> > leveraged by
> > many applications, each of which may or may not be localized. I
> > wasn't
> > able to locate any file in my Framework for which "Get Info"
> > displayed any
> > languages at all.
>
> 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. 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.
Special thanks to Philip and Larry for helping me put the pieces together.
- 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