Re: Package install problems
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Am 03.11.2005 um 04:25 schrieb installer-dev-request@lists.apple.com: What am I doing wrong here ? I can't hard-code a default location of /Applications in the pkg files, as this default location would be different on the German install. HTH Mike -- Mike Fischer Softwareentwicklung, EDV-Beratung Schulung, Vertrieb Web: <http://homepage.mac.com/mike_fischer/index.html> Note: I read this list in digest mode! Send me a private copy for faster responses. _______________________________________________ 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... Yes you can. The names on disk for standard locations are the same regardless of the current language used by the user account. The Finder and other applications use a number of mechanisms to display localized names instead of the real file system names. See LaunchServices documentation and LSCopyDisplayNameForRef()/ LSCopyDisplayNameForURL() for the standard way to get the correctly localized name of a file or folder in code. To test this create a new user and configure it to use some other language (i.e. German). You will find that: a) The /Applications directory is now displayed localized to "Programme"; b) if you do a get info in the Finder you'll see that it is still named /Applications; c) if you use fast user switching to additionally log in to your English account you'll see that the name on disk has not changed and you can see the same folder having two different display names at the same time, depending on which user is looking at it. This is one relativly cool feature of Mac OS X. (It does not scale well when using Aliasses though, but that should not concern you.) This email sent to site_archiver@lists.apple.com
participants (1)
-
Mike Fischer