[izpack-devel] Changing strings

Marius Nicolae mariusn007 at gmail.com
Tue Jul 3 13:26:22 CEST 2007


Hi,

A couple of questions:

If you include in the installation script some internationalization
resources like this:

   <resources>
	<res id="userInputLang.xml_eng"
src="izpack_installer/langpacks/eng.xml" parse="yes" type="xml"/>
	<res id="userInputLang.xml_fra"
src="izpack_installer/langpacks/fra.xml" parse="yes" type="xml"/>
    </resources>

1. can you set in the langpack files some variables used by IzPack in
order to change the messages that appear in various panels like this:
    <str id="HelloPanel.welcome1" txt="WARM Welcome to the installation of "/>
instead of the original message
<str id="HelloPanel.welcome1" txt="WARM Welcome to the installation of "/>
?

2. if you use
    <res id="userInputLang.xml_eng" parse="yes" type="xml" />
and you have in the langpack some variable  like 	
    <str id="invalid_node_name" txt="Invalid node name for $APP_NAME" />
shouldn't $APP_NAME be substituted?
Because now it isn't. What would be the correct syntax?

Best regards,
Marius Nicolae



More information about the izpack-devel mailing list