Message-ID: <452856956.5913.1409652430459.JavaMail.email@example.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_5912_1117275532.1409652430458" ------=_Part_5912_1117275532.1409652430458 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
IzPack supports many languages out of the box.
If a country or language is not supported, the following instructions ca= n be used to add a new one.
NOTE: This assumes IzPack 5.0.0-rc1 is being used with the izpack-maven-= plugin.
In IzPack, language packs are identified by a 3 character ISO country or= language code. Country codes are converted to lowercase.
Country codes are used in preference to language codes. This is to handl= e the case where a language variation is spoken for which there is no ISO l= anguage code.
E.g. Portuguese and Brazilian Portuguese - these must be specified using= "prt" and "bra" respectively.
Each language pack must have a corresponding resource file located at:= p>
com/izforge/izpack/bin/langpacks/installe= r/<ISO code>.xml
There must also be a flag resource located at:
E..g The English language pack is used for all English speaking countrie= s, and uses the eng ISO language code..
It has the following resources:
To add a country specific variant of the English language pack, e,g. for= Australia
1. Create the langpack resource in:
This can be derived from the English language pack here:
https://github.com/izpack/izpack/blob/master/izpack-= core/src/main/resources/com/izforge/izpack/bin/langpacks/installer/eng.xml<= /a>
2. Create a flag resource in:
3. Create a jar (call it myjar) containing these resources
4. The izpack-maven-plugin needs to reference the jar in order for it to= locate the resources