Localizing the app strings

All strings displayed in the app are already localized to English, French, German, and Spanish. These localizations appear as child entries in the Xcode project hierarchy under Resources/Localizable.strings. If you need to add your own localization of the app strings, follow this procedure.

In the DeploymentKitApp project folder, the following project files appear in Resources/Localizable.strings.
  • en.lproj for English.
  • es.lproj for Spanish.
  • fr.lproj for French.
  • de.lproj for German.

Procedure

  1. Duplicate the folder en.lproj.
  2. Rename the duplicate folder langcode.lproj, where langcode is the two letter international language code for your language.
  3. Localize the strings in the Localizable.strings file in its corresponding language folder.
  4. In the Xcode project, in the Navigator, right-click the Resources folder to display the menu.
  5. Click Add files to project, and then select the Localizable.strings file from your new language folder.

Result

The entry in the Xcode project hierarchy now contains a new entry under the item Localizable.strings with your new localization file.

What to do next

Localize the app settings.