A SERVICE OF

logo

Creating LP 13
Let us assume that the locale.xml contains the following entry:
<entry>
<keyword>plesk_register_server</keyword>
<phrase>Click to register a new Plesk server in
{$EXP_PROD_NAME}.</phrase>
<comment/>
</entry>
The corresponding message in Plesk Expand GUI looks as follows: Click to register a new
Plesk server in Plesk Expand.
Important: While translating the text in the context_help_keys or messages_keys
sections, put these placeholders at any place in the text, but do not change anything within
the placeholder code: neither do edit any text within curly brackets, nor delete the curly
brackets.
Variables
Variable is a substring like %variable-name% that is substituted with its value in GUI.
Let us assume that the domain name is sample.com, and locale.xml file contains the
following entry:
<entry>
<keyword>plesk_error_domain_unknown</keyword>
<phrase>Domain %domain% cannot be found.</phrase>
<comment/>
</entry>
The corresponding message in Plesk Expand GUI looks as follows: Domain sample.com
cannot be found.
While translating messages that contain variables, observe the following rules:
Put a variable at any place of your translation text.
Neither do change any text between percent signs, nor remove the percent signs.
Use all the variables of the original message from the default locale provided by Parallels
in your translated message. Do not skip any message variables in translated messages, it
will make your text less informative than the original one.
Do not use any variables for translated message which were not used in the original
message from the default locale provided by Parallels.
Countries Names
While editing the locale.xml file, you might see entries like:
<entry>
<keyword>plesk_client_state_filled_error</keyword>
<phrase>Please specify a state for the USA selected.</phrase>
<comment/>
</entry>