Re: Questions on localised strings
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com On Mar 5, 2008, at 4:20 AM, Jose R.C. Cruz wrote: - localizedString(key) - localizedStringWithFormat(key, arg1, arg2,..) - localizedStandardString(key) - localizedStandardStringWithFormat(key, arg1, arg2,..) GENERIC_FAIL_LANG GENERIC_FAIL_VOLUME GENERIC_FAIL_NEWER _______________________________________________ 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 have a couple of questions that I hope some you could help. The System object has the following calls: For the first two calls, I assume the strings must be in the file Resources/Localizable.strings, am I correct? But what about those standard strings? Are these strings that came with Installer.app? Or are they located somewhere else in CoreServices?
From what I can see, localizedStandardString can accept localization keys from the Distribution.strings file located in /System/Library/ PrivateFrameworks/Install.framework/Versions/A/Resources/. At this time, this is the only .strings file I have been able to use from Installer.app resources, Installer.app plugins and Install.framework But there might be other possible keys because one of the Printer Drivers updates from http://swcdn.apple.com/ is using the following keys: I agree the description for localizedStandardString and localizedStandardStringWithFormat is not describing anything. Think about reporting this lack of information through the "Did this document help you?" report mechanism at the bottom of the documentation. This email sent to site_archiver@lists.apple.com
participants (1)
-
Stéphane Sudre