How to localize distribution package's requirements message
How to localize distribution package's requirements message
- Subject: How to localize distribution package's requirements message
- From: Ben Staveley-Taylor <email@hidden>
- Date: Tue, 8 Sep 2009 17:15:00 +0100
Does anyone know how to provide localizations for the messages
displayed by the Requirements elements of a distribution package?
(This is using PackageMaker.)
I am adding a requirement, if Result of Script then <Failure Message>,
and I can't see any way to enter text other than in English.
I have created localized Resource folders in the package using the
Edit Interface button, but I don't think that's relevant.
After building the .mpkg, it contains this in the distribution.dist
file:
<script>function pm_install_check() {
if(!(system.run('<My script path here>') == true)) {
my.result.title = '<my English message title here>';
my.result.message = '<my English message text here>';
my.result.type = 'Fatal';
return false;
}
return true;
}
</script>
so there doesn't appear to be any language parameter being used.
Thanks,
Ben Staveley-Taylor
_______________________________________________
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