Obtaining Language Pack Source File

Language pack source is an XML file containing all interface messages existing in Plesk Sitebuilder.

You can obtain an LP source in three ways:

 

To take the source from the Localization Kit:

  1. Unzip the Localization Kit to a preferred location.
  2. Take the <kit-unarchiving-location>/sitebuilder-4.2-unix-l10n-kit/src/en-US.xml file.

To take the source from the Sitebuilder 4.2 SDK:

  1. Install Sitebuilder 4.2 SDK.
  2. Take the <SDK-installation-directory>/Samples/Localization/en_US.xml

 

To take the source from the Sitebuilder 4.2 instance:

  1. Unzip the Localization Kit to a preferred location.
  2. Place the <kit-unarchiving-location>/sitebuilder-4.2-unix-l10n-kit/tools/get_current_locale.sh utility to a preferred directory on the server where Sitebuilder 4.2 is installed.
  3. Run the script:

    # ./get_current_locale.sh

    This extracts the LP source for the default language (U.S. English) and saves it to your current directory as an XML file - en_US.xml.

    To take the LP source for another language (if any is installed in your Plesk Sitebuilder), run the script with the LP name as an input parameter. For example, to take the Australian LP source file:

    # ./get_current_locale.sh en_AU