• 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: Add option to choose language during installation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Add option to choose language during installation


  • Subject: Re: Add option to choose language during installation
  • From: Per Olofsson <email@hidden>
  • Date: Tue, 04 Oct 2011 07:47:56 +0000
  • Thread-topic: Add option to choose language during installation

4 okt 2011 kl. 06:30 skrev Rakesh Singhal:

> I am using Packages tool (http://s.sudre.free.fr/Software/Packages/about.html) to create installer package (mpkg file). I am able to create the installer package and install it properly without any issue. Now, I would like to add the option to choose the language when user click on mpkg file. I have added the license localization and other localization etc in myproject.pkgproj. After these changes, it creates the .lproj folders for other languages also in mpkg file. But I am not able to find a way to add the option to choose language and then pass it to postflight script. To pass the language option to postflight script, I can create a temp file. But do not know how to add option.

As long as the (m)pkg and the installed bundles have the appropriate lprojs, the system will automatically choose the language that matches the user's language preference. If you have legacy components that need to be localized, you can inspect the settings in a script with:

  defaults read -g AppleLanguages
  defaults read -g AppleLocale

--
Per Olofsson
System Administrator, ITS, University of Gothenburg

 _______________________________________________
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

References: 
 >Add option to choose language during installation (From: Rakesh Singhal <email@hidden>)

  • Prev by Date: Re: Add option to choose language during installation
  • Next by Date: Re: Add option to choose language during installation
  • Previous by thread: Re: Add option to choose language during installation
  • Next by thread: Re: Installer-dev Digest, Vol 86, Issue 1
  • Index(es):
    • Date
    • Thread