• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Does cocoa allow string resource
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Does cocoa allow string resource
  • Next by Date: Re: default C String Encoding
  • Previous by thread: Does cocoa allow string resource
  • Next by thread: NSSavePanel weirdness
  • Index(es):
    • Date
    • Thread