[izpack-users] Multi language License and Info
Manfred Rosenboom
marochess at gmail.com
Sat Sep 9 08:51:11 CEST 2006
See the end of section 3.7.1 ("Special resources") of chapter 3.7
("More Internationalization") of the IzPack manual:
To sum up : add <iso3 code> to the resource name for InfoPanel, HTMLInfoPanel,
LicencePanel and HTMLLicencePanel.
Here a simple example: if you use the following locale element
<locale>
<langpack iso3="eng"/>
<langpack iso3="fra"/>
<langpack iso3="spa"/>
</locale>
You can define the following resources:
<res id="LicencePanel.licence_eng" src="LICENSE_eng.txt"/>
<res id="LicencePanel.licence_fra" src="LICENSE_fra.txt"/>
<res id="LicencePanel.licence_spa" src="LICENSE_spa.txt"/>
<res id="InfoPanel.info_eng" src="README_eng.txt"/>
<res id="InfoPanel.info_fra" src="README_fra.txt"/>
<res id="InfoPanel.info_spa" src="README_spa.txt"/>
The source attribute is a filename, so you can use, of course, any
other file name structure for your files.
Best,
Manfred
On 9/8/06, Pander <pander at users.sourceforge.net> wrote:
> Hi all,
>
> How can I make the lines below multi language?
>
> <res id="LicencePanel.licence" src="LICENSE.txt"/>
> <res id="InfoPanel.info" src="README.txt"/>
>
> I have a different License and Info per language for my installer.
>
> Thanks,
> Pander
More information about the izpack-users
mailing list