Spotfire® Deployment Kit for Apple iOS

Localizing the app settings

All settings displayed in the app are already localized to English, French, German, and Spanish.

About this task

These localizations are displayed as child entries in the DeploymentKitApp Xcode project hierarchy under DeploymentKitApp > Settings > Settings, with names consisting of a two character international language code.
  • en.lproj for English.
  • es.lproj for Spanish.
  • fr.lproj for French.
  • de.lproj for German.

Procedure

  1. In the DeploymentKitApp, right-click the bundle named Settings > Settings and click Show in Finder.
  2. In Finder, right click this bundle (Settings.bundle), and from the menu click Show Package Contents.
  3. Select the folder en.lproj and copy it to your Desktop.
  4. Rename this folder copy to langcode.lproj, where langcode is the two letter international language code for your language.
  5. In the language folder, in the file Root.strings, localize the strings, following the same procedure as outlined in Changing the titles of values in settings.
  6. Copy the localized folder.
  7. Repeat Step 1 and Step 2.
  8. Paste the localized folder into the package Settings.bundle.
  9. In Xcode, in the Project navigator, open DeploymentKitApp > Settings > Settings.

Results

The DeploymentKitApp > Settings > Settings entry in the Xcode project hierarchy now contains a new folder with your new localization of Settings for the app.