Re: Detecting locale with preinstall script
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com On Oct 24, 2008, at 1:32 AM, Glover,David wrote: defaults read -g AppleLocale; defaults read -g AppleLanguages; Philip Aker echo astwta@lvpc.dslh@nl | tr a-z@. p-za-o.@ Democracy: Two wolves and a sheep voting on lunch. _______________________________________________ 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... I need to detect what the locale of the current users OS is with a preinstall script, which is written in perl. I’m assuming that this information is stored in a plist somewhere, but I haven’t located it as yet! Does anybody know where or how I can programmatically detect the locale / language? Here are some Terminal calls. I don't know if they are the ones recommended by Apple: This email sent to site_archiver@lists.apple.com
participants (1)
-
Philip Aker