We need you!

Icon

The IzPack documentation needs work, and you are invited to edit it!

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Headlines on all kind of installer panels can be translated in the following manner:

Create a custom translations file for each language, for instance german:

Code Block
titlecustomLangPack.xml_deu
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<izpack:langpack version="5.0" xmlns:izpack="http://izpack.org/schema/langpack" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://izpack.org/schema/langpack http://izpack.org/schema/5.0/izpack-langpack-5.0.xsd">
<!-- Headlines of panels -->
<str id="HelloPanel.headline" txt="Willkommen" />
<str id="LicencePanel.headline" txt="Lizenzvereinbarung" />
<str id="TargetPanel.headline" txt="Installationsverzeichnis" />
<str id="PacksPanel.headline" txt="Installationspakete" />
<str id="InstallPanel.headline" txt="Installation läuft" />
<str id="FinishPanel.headline" txt="Installation abgeschlossen" />
<str id="panel.tomcatsettings.headline" txt="Tomcat-Einstellungen" />
</izpack:langpack>

and add it as resource to the installation descriptor:

Code Block
titleinstall.xml
languagexml
<resources>
  <res id="CustomLangPack.xml_eng" src="i18n/customLangPack.xml_eng"/>
  <res id="CustomLangPack.xml_deu" src="i18n/customLangPack.xml_deu"/>
  ...
<resources>