Localization
From IPhone Dev FAQ
(Redirected from How do I localize my app)
To localize the strings in your app using the manual process (see the Useful Links below for an automated process):
- make an en.lproj project folder
- add a text file Localizable.strings
- Put your strings in here as key value pairs like this:
- "HelloWorldText" = "Hello World!";
- Put your strings in here as key value pairs like this:
- make an es.lproj folder and put your Spanish Localizable.strings in here
- Use NSLocalizedString() and the identifier to get the strings
To localize your Default.png:
- Put localized Default.png in each of your lproj folders. That's all!
Refer to ISO639-2 for country codes.
Useful Links:
- Discusses issues that people are having, includes a good method for having XCode creating the files: http://www.iphonedevsdk.com/forum/iphone-sdk-development/2288-strange-trouble-localizable-strings.html
