Translating Packages in PacksPanel
Assuming a package is defined in this way:
install.xml
<packs>
<pack name="Core Files" required="yes" id="core.package">
<description>The core files required for this application</description>
...
</pack>
</packs>the according name and description can be translated in the installer in the following way:
First, define a package translation file per language, for example german:
packsLang.xml_deu
<langpack>
<str id="core.package" txt="Anwendungs-Kern"/>
<str id="core.package.description" txt="Unbedingt notwendige Dateien für das Betreiben dieser Anwendung"/>
</langpack>and add them as packsLang.xml_<LANGUAGE_CODE> to the installation descriptor:
Add package translation resources to install.xml
<resources>
<res id="packsLang.xml_eng" src="i18n/packsLang.xml_eng"/>
<res id="packsLang.xml_deu" src="i18n/packsLang.xml_deu"/>
</resources>