Re: Problems with Localization
Re: Problems with Localization
- Subject: Re: Problems with Localization
- From: Stéphane Sudre <email@hidden>
- Date: Tue, 31 Jul 2007 22:58:57 +0200
On mardi, juillet 31, 2007, at 09:42 PM, Bill Coderre wrote:
Whatever is in /Contents/Resources overrides whatever is in
/Contents/Resources/<Language>.lproj. This is the same as the rest of
Mac OS X's localization strategy, and Installer.app just
calls localizedStringWithFormat.
Hum, that's only half of the story here.
AFAIK, the real answer is: it depends on the OS version.
From experience and the bug report I filed against this, the behavior
regarding the /Contents/Resources vs
/Contents/Resources/<Language>.lproj changed in a Mac OS X release. I
tend to remember it was in a 10.4.x release. I don't remember exactly
if it was x=0 or x>0.
Anyway, on Mac OS X 10.2.8 for instance,
/Contents/Resources/<Language>.lproj wins over /Contents/Resources for
packages. I made a simple package that illustrates this.
On Mac OS X 10.4.x and later (where w is unknown), /Contents/Resources
wins over /Contents/Resources/<Language>.lproj.
So, yes, it's best to avoid using /Contents/Resources when you have
some localized versions in /Contents/Resources/<Language>.lproj.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden