Localization

In this document

The Tools.framework ships with its user-facing strings written in English.

Adding a localization

You can add translations to Tools.framework from the Tools project in /Lib/Tools/src by following these steps:

  1. Select the Tools project from the Project navigator.

  2. Select the Tools project from the dropdown or list of projects and targets.

  3. Add a new localization by clicking on the plus sign below 'Localizations'.

  4. Check the box next to the file for the new localization (the Localizable.strings file) and click 'Finish'.

A new Localizable.strings file will be created in /Lib/Tools/src/PDFViewCtrlTools/Tools/<language-code>.lproj with the contents of the reference language (English by default). You can then enter a translation on the right-hand side of each entry in the .strings file.