• 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
Re: How to localize distribution package's requirements message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: How to localize distribution package's requirements message
      • From: Ben Staveley-Taylor <email@hidden>
References: 
 >How to localize distribution package's requirements message (From: Ben Staveley-Taylor <email@hidden>)
 >Re: How to localize distribution package's requirements message (From: Iceberg-Dev <email@hidden>)
 >Re: How to localize distribution package's requirements message (From: Ben Staveley-Taylor <email@hidden>)

  • Prev by Date: Re: Meta Package in 10.5 to support 10.3 problem
  • Next by Date: Re: Meta Package in 10.5 to support 10.3 problem
  • Previous by thread: Re: How to localize distribution package's requirements message
  • Next by thread: Re: How to localize distribution package's requirements message
  • Index(es):
    • Date
    • Thread