Re: How to localize distribution package's requirements message
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:in-reply-to:references :mime-version:content-type:message-id:cc:content-transfer-encoding :from:subject:date:to:x-mailer; bh=p+6BpWhbhYMIgT/UYw6eVHjFMUmH1lXtMSaUmGDNc4A=; b=Id/QnAZxoIFzcIDFvwYHCHL4kQ6fMh7o8rn19nj4xTGpJlxdkmx69tg+hzCcjQWW2q LQndfZnrKyJpesRQF27ndD7KMN494h8EG1C6D8fAQlr8srMnir131AVkRBzGfKHdflLP kPYv9BS8jJg7SmOqWVO0pbEdqXWlpEeoDa3uw= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=in-reply-to:references:mime-version:content-type:message-id:cc :content-transfer-encoding:from:subject:date:to:x-mailer; b=k9PlD00F9EFOLRIU2M86F/wPoCbQhJd7qyRSUlDYMYbX8fRjgw9lsgTfH1B7/Kc+/a bV5n8M1SiCpLP1XSFYPbNsewgrSDxKbTL5di1SO1lU2N3OH05Y/FdFt6i37qRZ+e0JSG iRtksg/IfKRI+rC7PZlIFAJCll03CiVAnnQ6g= On Sep 9, 2009, at 12:29 PM, Ben Staveley-Taylor wrote: 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 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 (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... 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. 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? This email sent to site_archiver@lists.apple.com
participants (1)
-
Iceberg-Dev