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>