Re: Adding more localized *.strings
Re: Adding more localized *.strings
- Subject: Re: Adding more localized *.strings
- From: Laurence Harris <email@hidden>
- Date: Thu, 3 May 2007 11:42:30 -0400
On May 3, 2007, at 10:36 AM, James Blair wrote:
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.
I'm a little confused. This framework is in your application, and you
use an installer. Is that to limit the language installed? Why only
one language?
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.)
I can't find a single application in my Applications folder that uses
this key. A search for Info.plist files containing "com.apple" turned
up 691 hits, but none for "CFBundleLocalizations."
Larry
_______________________________________________
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