Re: How to localize distribution package's requirements message
Re: How to localize distribution package's requirements message
- Subject: Re: How to localize distribution package's requirements message
- From: Iceberg-Dev <email@hidden>
- Date: Wed, 9 Sep 2009 22:59:43 +0200
On Sep 9, 2009, at 12:29 PM, Ben Staveley-Taylor wrote:
Thanks for the answer. I'm very happy to create a
Localizable.strings file if this is what it takes, but I can't get
it to work. All I get are the string keys ("MY_KEY_TITLE" etc)
appearing in the alert.
After building my installer I have this package structure within it:
MyInstaller.mpkg
Contents
distribution.dist
Packages
MyPackage.pkg
Resources
en.lproj
background.psd
Localizable.strings
fr.lproj
background.psd
Localizable.strings
(... etc for other languages)
I used en/fr.lproj instead of English/French.lproj because that was
already there in the package from adding my other localized files
via the GUI. However, I have tried using English/French.lproj
instead, but no difference. My localizable.string files are UTF-16.
Have I misunderstood the mechanism?
I just forgot to mention that you need to call a JavaScript method.
my.result.title = system.localizedString('MY_KEY_TITLE');
my.result.message = system.localizedString('MY_KEY_MESSAGE');
mea culpa
_______________________________________________
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