views:

679

answers:

3

I have an iPhone application which has a button to change display language in run time. I have looked at NSLocalizedString() which will return the appropriate strings according to system preference. What are my options rather than hard coding all the display strings and return according to user language selection in run time? Any pointers will be much appreciated.

+1  A: 

Here is a great article on localizing iPhone apps. This article discusses most of the necessary procedures:

http://www.iphonesdkarticles.com/2008/11/localizing-iphone-apps.html

James Skidmore
Thanks James. It is a great tutor. However, I'm looking for a way to switch localization on the fly.
+2  A: 

The correct "User experience" is for the user to select their language via the system preference panel; not your app (or your app's settings panel, etc.). There is no way to override this per-app and you wouldn't want any app changing the system wide setting.

geowar