[izpack-devel] Changing strings

Dennis Reil Dennis.Reil at reddot.de
Tue Jul 3 13:32:14 CEST 2007


You can use a custom langpack, to customize langpack strings. You'll find a description in the wiki on how to do this.
Regards,
   Dennis

-----Ursprüngliche Nachricht-----
Von: izpack-devel-bounces at lists.berlios.de [mailto:izpack-devel-bounces at lists.berlios.de] Im Auftrag von Marius Nicolae
Gesendet: Dienstag, 3. Juli 2007 13:26
An: izpack-devel at lists.berlios.de
Betreff: [izpack-devel] Changing strings

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
_______________________________________________
izpack-devel mailing list
izpack-devel at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/izpack-devel



More information about the izpack-devel mailing list