There is an equivalent to NSLocalizedString with selectable locale?
There is an equivalent to NSLocalizedString with selectable locale?
- Subject: There is an equivalent to NSLocalizedString with selectable locale?
- From: Giacomo Tufano <email@hidden>
- Date: Fri, 19 Jun 2009 00:01:25 +0200
I have a CocoaTouch app that's localized using NSLocalizedString() and
NSLocalizedStringFromTable().
I would like to give the user the option to change language on some
part of the program but I couldn't find any call or function for
selecting the locale into the program. I found that I can get the
current preferred locale with [NSUserDefaults standardUserDefaults]
@"AppleLanguages" key, but that's all...
Should I rewrite the routines to read directly from the string tables
or there is some function/method I didn't find to do this?
TIA,
gt
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden