Re: Does cocoa allow string resource
Re: Does cocoa allow string resource
- Subject: Re: Does cocoa allow string resource
- From: Eric Peyton <email@hidden>
- Date: Thu, 8 Nov 2001 12:27:04 -0600
On Thursday, November 8, 2001, at 12:16 PM, Fei Li wrote:
Hello all,
In Mac OS9, I can store strings in resource file, and use GetIndString()
to get the string I want. If cocoa allow string resource? If cocoa does,
how can I do this, if cocoa does not, if I can only declare them in my
.m or .h file?
Yes. No need for a resource however. You need Localizable.strings
files and then you can access them using NSLocalizedString().
See the localization/internationalization documentation and samples
provided in the /Developer folder on OS X.
It is extremely easy to localize strings in OS X/Cocoa.
Eric
Thanks for any information!
Fei
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev