Compiling LP

After translation is complete, you need to compile your source files into LP. The compiling is performed with Plesk Expand locale-maker utility.

To install locale-maker utility:

  1. Download the locale-maker packet expand-locale-maker-1.0.0-3.i586.rpm from the Parallels Technology Network, or take the packet downloaded with this Localization Kit.
  2. Install locale-maker using the following command:

    # rpm -Uhv expand-locale-maker-1.0.0-3.i586.rpm

Note: The locale-maker utility requires PHP, Xerces-C++ v.2.5.0-6 and later, Unzip and rpmbuild utility.

The locale-maker utility is installed to the /usr/local/expand-locale-maker directory.

Before compiling an LP, make sure that your directory with sources contains all necessary elements:

To build an LP:

Run locale-maker with the following options:

# /usr/local/expand-locale-maker/sbin/locale-maker --locale-path <source-files-directory> --locale-id <xx-XX> --title <locale-name> --expand-version <expand-version>

Where

By default, the created LP expand-locale-<xx-XX>-<expand-version>-<YYMMDD>.noarch.rpm is located in the current directory.

You can specify the directory for created LP, locale release version, architecture of Plesk Expand instance for which a locale is built using additional locale-maker utility options. For details on these options, refer to the Appendix A. Using locale-maker Utility .