On Jun 6, 2007, at 12:56 PM, Mark Krenek wrote: Is there any way to create a .pkg bundle whose name is localized, just like .app bundle can be? I'd like to distribute a .pkg file so that the display name the user sees is localized, for example "The Sims 2" in English and "Les Sims 2" in French. You can't use a .localized folder because that only works on folders with the .localized extension. And I've tried the .app approach of creating a CFBundleDisplayName entry in the infp.plist files, but that doesn't work either.
The only things that can have localized names are folders and apps. This is a limitation of Mac OS X.
Apple installers have either just shipped with the product names, which we choose to avoid localization (for example, you might call the installer "Sims 2"), or we've just punted and used English for all locales (for example, you might call your installer, "Install The Sims 2").
Conjecture (not an official Apple opinion): That being said, you COULD make an app that just does "open" on an installer package, and that .app could have a localized name like "Installez Les Sims 2". (Hide the .app extension.)
HOWEVER, there is a chance that some people might be surprised or worried, since this "smells" like a typical internet "trojan" attack vector. (I think there was some uproar about this in the past.) Also you should test with "forthcoming releases" to see exactly what happens. (I don't think I'm allowed to discuss "the cat whose name starts with L" on this list.)
|