• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to localize distribution package's requirements message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: How to localize distribution package's requirements message
      • From: Iceberg-Dev <email@hidden>
  • Prev by Date: Re: Problems packaging a Java app
  • Next by Date: Re: Not just SnowLeopard-- Re: SL checking bundle versions incorrectly?
  • Previous by thread: Re: Meta Package in 10.5 to support 10.3 problem
  • Next by thread: Re: How to localize distribution package's requirements message
  • Index(es):
    • Date
    • Thread