[izpack-users] Customize the panel heading?
Bartz, Klaus
Klaus.Bartz at coi.de
Fri Jul 7 10:16:40 CEST 2006
>-----Original Message-----
>From: izpack-users-admin at berlios.de
>[mailto:izpack-users-admin at berlios.de]On Behalf Of Dominik.S
>Sent: Friday, July 07, 2006 10:00 AM
>To: izpack-users at lists.berlios.de
>Subject: [izpack-users] Customize the panel heading?
>
>
>Hi,
>
>i'd like to have a customized panel heading for the ProcessPanel. I
>already know that the heading is taken somehow from a resource:
>
>heading.setText(parent.langpack.getString("ProcessPanel.heading"));
>
>Is it possible to change or overwrite this resource without the need of
>modifying and building IzPack, e.g. by just adding a set of additional
>resource bundles (for the languages my installer supports?) or defining
>variables in the installer.xml?
>I didn't find something in the help (but perhaps i'm just blind...)
See chapter "Creating Your Own Panels" paragraph "The Internationalization
of custom panels".
If you know (that's not written there), that the custom langpack file will
be read after the common one and replace existent entries, you know
that you shoud simple add your changed text into your custom langpack
with the same key as written in the common langpack file and it works.
Do not forget to add your custom langpack file as resource (-> docu).
You can also edit the entry in
$IZPACK_HOME/bin/langpacks/installer/<ISO3>.xml
but that is not the recommended way. With it you have to edit the files
every time you make an IzPack update.
Cheers
Klaus
>
>Thanks in advance,
>
> dominik
>###########################################
>
>This message has been scanned by F-Secure Anti-Virus.
>For more information, connect to http://www.f-secure.com/
>_______________________________________________
>izpack-users mailing list
>izpack-users at lists.berlios.de
>http://lists.berlios.de/mailman/listinfo/izpack-users
>
More information about the izpack-users
mailing list