A SERVICE OF

logo

Appendix A. Using locale-maker Utility 17
The locale-maker utility is used to build Plesk Expand Language Packs. For instructions
on how it can be installed, refer to the Compiling LP (on page 15) section.
Usage
/usr/local/expand-locale-maker/sbin/locale-makerlocale-path <source-files-
directory> --locale-id <xx-XX> --title <locale-title> --expand-version
<expand-version> [options]
Example
The following command builds the French LP:
# /usr/local/expand-locale-maker/sbin/locale-makerlocale-path ./fr-FR
locale-id fr-FR
--title Frenchexpand-version 2.2.0
Options
Option
Description
--locale-path
Specifies the directory where the LP source files are located.
Required.
--locale-id
Specifies the locale code in the RFC 1766 standard.
Required.
--title
Specifies the locale title that will be shown to Plesk Expand users after
installing the locale to the Plesk Expand.
Required.
--expand-version
Specifies the Plesk Expand version for which the locale is build.
Required.
--output-path
Specifies the directory where LP will be created.
The current directory is used by default.
Optional.
--native-title
The locale native title. If the native title is set, it will replace the locale title.
Optional.
The following options are used in Plesk Expand LP build process and they are set automatically. (All
of them are optional.)
--locale-release
Specifies the locale release version.
The YYMMDD format , where YY - current year, MM - month, DD - day of
month, is used by default.
Appendix A. Using locale-maker Utility