Re: Finding the current OS language via distributions
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com The application would contain the packages in its Resources folder. The application would only open the appropriate package. On mardi, octobre 31, 2006, at 12:27 AM, Steven Lobo wrote: Yes, unfortunately the help file size is large and is not yet bundled help. We are creating an help installer infrastructure that various other teams we collaborate with can use. There was a suggestion made during WWDC this year that we install all language support to a temporary location and then copy only the appropriate language files to the install location. This is not a practical solution for us due to the time taken to install all localizations is quite long. Steven -----Original Message----- From: Stéphane Sudre <ssudre2@wanadoo.fr> To: Steven Lobo <steven@robosoftin.com> Cc: installer-dev@lists.apple.com Date: Mon, 30 Oct 2006 23:24:24 +0100 Subject: Re: Finding the current OS language via distributions Stupid question of the day: Why not just installing all the languages? Mac OS X is a multi-language OS. This seems to make sense to install all available localizations. Are the PDFs that big? On lundi, octobre 30, 2006, at 05:32 PM, Steven Lobo wrote: Hi: I have a Metapackage that installs help PDF's for various language. Each package inside the Metapackage contains user help for a specific language. ----------------------------------------------- Robosoft Technologies - Come home to Technology _______________________________________________ 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... Hmm, in that case, one solution could be to use a small intermediate application. The application would find the appropriate OS language (using the /var/log/CDIS.custom for instance). You can make the user believe this is a real package by using a custom icon. This is a similar solution to the ReadMe "text" on the OS Installation CD. With 10.3, my Metapackage has to currently launch each embedded package to determine if that package has to install. This is since there is no specific way to launch just the appropriate language package from the metapackage in 10.3 that I am aware of. A script in each package determines if the language it is supposed to install is the OS language and either proceeds/stops it's install if not. I am planning on using a distribution script on 10.4 to launch just the require language package and install it's contents. This should decrease the install time since I am now launching just 1 package. Queries: ======== 1. How can I find the current OS language from within the distribution script ? 2. In 10.3, is there any other way for a metapackage to determine which package to launch based on the current OS language ? _______________________________________________ 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/ vishnuprasad.kodancha%40robosoftin.com This email sent to vishnuprasad.kodancha@robosoftin.com ----------------------------------------------------------------------- ---------------- Orange vous informe que cet e-mail a ete controle par l'anti-virus mail. Aucun virus connu a ce jour par nos services n'a ete detecte. This email sent to site_archiver@lists.apple.com
participants (1)
-
Stéphane Sudre