Step 3. Translating the strings.xml File

The strings.xml file is used to translate the text in Parallels Pro Control Panel Power Tools. Its format differs from the .po file, but the translation is straight-forward.

Open the file /usr/lib/ensim/deployables/lib/locale/en_US/LC_MESSAGES/strings.xml and translate the strings between the <msgstr> and </msgstr> tags to the target language. Save the file as /usr/lib/ensim/deployables/lib/locale/<lang>/LC_MESSAGES/strings.xml.

The following is an excerpt from the German strings.xml file:

<?xml version="1.0" encoding="utf-8" ?>
<strings>
<string>

Project-Id-Version: PACKAGE VERSION POT-Creation-Date: 2003-09-06 13:57-0400 PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE Last-Translator: FULL NAME &lt;EMAIL@ADDRESS&gt; Language-Team: LANGUAGE &lt;LL@li.org&gt; MIME-Version: 1.0 Content-Type: text/plain; charset=ascii Content-Transfer-Encoding: 8bit
</msgid>
<msgstr>
Project-Id-Version: PACKAGE VERSION POT-Creation-Date: 2003-09-06 13:57-0400 PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE Last-Translator: FULL NAME &lt;EMAIL@ADDRESS&gt; Language-Team: LANGUAGE &lt;LL@li.org&gt; MIME-Version: 1.0 Content-Type: text/plain; charset=ascii Content-Transfer-Encoding: 8bit
</msgstr>
</string>
<string>
Install</msgid>
<msgstr>Installieren</msgstr>
</string>
<string>
Reconfigure</msgid>
<msgstr>Neu konfigurieren</msgstr>
</string>
<string>
Upgrade</msgid>
<msgstr>Upgrade</msgstr>
</string> ...