Localizations

Localizations allow you to customize the language used when displaying package information to a user. By default, a package source only includes an English localization.

Composer includes defaults for the following localizations supported by the PKG format:

  • da.lproj

  • Dutch.lproj

  • English.lproj

  • Fi.lproj

  • French.lproj

  • German.lproj

  • Italian.lproj

  • Japanese.lproj

  • ko.lproj

  • no.lproj

  • pl.lproj

  • pt_PT.lproj

  • pt.lproj

  • ru.lproj

  • Spanish.lproj

  • sv.lproj

  • zh_CN.lproj

  • zh_TW.lproj

Adding Localizations to Package Sources

  1. Open Composer and authenticate locally.

  2. Click the disclosure triangle next to the package source in the sidebar.

  3. Control-click (or right-click) Settings and choose the localization that you want to add.

    images/download/attachments/66027725/Add_localization.png

Adding and Editing Files for a Localization

You can include two kinds of files in a localization:

  • Description.plist files—These files display the title of a package and its description in the Installer application. Each localization contains a description.plist file by default. For instructions on how to edit these files, see Editing PLIST Files in Package Sources.

  • Strings filesVolumeCheck.strings and InstallationCheck.strings files are used to localize warning and error messages. These files are only effective when used in conjunction with their corresponding scripts (VolumeCheck and InstallationCheck). For instructions on how to add VolumeCheck and InstallationCheck scripts to a package source, see Adding Scripts to Package Sources.

  1. Open Composer and authenticate locally.

  2. Click the disclosure triangle next to the package source in the sidebar.

  3. Click the disclosure triangle next to Settings.

  4. Control-click (or right-click) the language folder you want to add the .strings file to and select Create InstallationCheck.strings or Create VolumeCheck.strings.

    images/download/attachments/66027725/Create_InstallationCheck_strings.png
  5. Click the .strings file to change its contents in the Package Contents pane.

Copyright     Privacy Policy     Terms of Use     Security
© copyright 2002-2020 Jamf. All rights reserved.