Re: International strings
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")