Graphics Programs Reference
In-Depth Information
Now that you've created Localizable.strings , localize it in Xcode the same way
you did the XIB file. Select the file in the project navigator and click the plus button in the
utilities area. Add the Spanish localization and then open the Spanish version of Local-
izable.strings . The string on the lefthand side is the key that is passed to the
NSLocalizedString function, and the string on the righthand side is what is returned.
Change the text on the righthand side to the Spanish translation shown below.
/* Name of application */
"Homepwner" = "DueƱo de casa"
Build and run the application again. The title of the navigation bar will appear in Spanish.
If it doesn't, you might need to delete the application, clean your project, and rebuild. (Or
check your user language setting.)
Search WWH ::




Custom Search