• 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: International strings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: International strings


  • Subject: Re: International strings
  • From: Finlay Dobbie <email@hidden>
  • Date: Fri, 3 Aug 2001 19:35:02 +0100

On Friday, August 3, 2001, at 06:20 pm, Andreas Monitzer wrote:

It's easier to put them into a file called "Localizable.strings" and use the following:

#define loc(x) [[NSBundle bundleForClass:[self class]] localizedStringForKey:x value:nil table:nil]

now you can use something like loc(@"Cancel") to get the right string back.

Or indeed just use the supplied macro NSLocalizedString(@"key",@"comment")


References: 
 >Re: International strings (From: Andreas Monitzer <email@hidden>)

  • Prev by Date: Re: Need Help with Help
  • Next by Date: Re: Accuracy of NSThread sleepUntilDate
  • Previous by thread: Re: International strings
  • Next by thread: Re: International strings
  • Index(es):
    • Date
    • Thread