Re: Questions on localised strings
Re: Questions on localised strings
- Subject: Re: Questions on localised strings
- From: Stéphane Sudre <email@hidden>
- Date: Wed, 5 Mar 2008 23:48:02 +0100
On Mar 5, 2008, at 4:20 AM, Jose R.C. Cruz wrote:
I have a couple of questions that I hope some you could help. The
System object has the following calls:
- localizedString(key)
- localizedStringWithFormat(key, arg1, arg2,..)
- localizedStandardString(key)
- localizedStandardStringWithFormat(key, arg1, arg2,..)
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:
GENERIC_FAIL_LANG
GENERIC_FAIL_VOLUME
GENERIC_FAIL_NEWER
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.
_______________________________________________
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