14 Creating And Installing LP
3. If a message text contains at least one double quote:
precede each quote with backslash:
'odbc__mysql_option' => "Options that specify how MyODBC should work.
See <a
href=\"http://dev.mysql.com/doc/mysql/en/Connection_parameters.html\">
http://dev.mysql.com/doc/mysql/en/Connection_parameters.html</a>",
or
enclose the message with single quotes:
'odbc__mysql_option' => 'Options that specify how MyODBC should work.
See <a
href="http://dev.mysql.com/doc/mysql/en/Connection_parameters.html">ht
tp://dev.mysql.com/doc/mysql/en/Connection_parameters.html</a>',
Variables
When translating Plesk interface and contextual help messages, pay special attention
to the messages containing variables:
Leave variables as they are, do not translate them.
Translate the other text of a message carefully, considering a variable meaning and
how the variable value will be embedded to the whole message text in Plesk
interface.
The following types of variables are used:
1 $PROD_NAME - replaces the nomination of the Plesk instance.
For example, if we have Plesk 8.0 for Unix installed, and the file messages_en-
US.php contains the string
'license__you_should_accept' => "In order to use $PROD_NAME
you should agree to the terms of this license.",
the corresponding message in the Plesk GUI looks as In order to use Plesk 8.0 for Unix
you should agree to the terms of this license.
2 %%<variable-name>%% - variables of this type are used in
messages_[locale].php files.
For example, if the IP address is 192.0.2.68, the client name is John Doe, and the
file
messages_en-US.php contains the string
'ui__client/domain/properties__client_ip_address_was_assigned
' => 'The IP address %%ip_address%% was assigned to
%%client_name%%.',
then the corresponding message in Plesk GUI looks as The IP address 192.0.2.68 was
assigned to John Doe.