• 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
There is an equivalent to NSLocalizedString with selectable locale?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: What is the best way to store some kind of identifying string in an interface builder object?
  • Next by Date: Re: What is the best way to store some kind of identifying string in an interface builder object?
  • Previous by thread: Re: File-picker dialog?
  • Next by thread: continuous spell checking, NSTextView / field editor, document tag
  • Index(es):
    • Date
    • Thread