[izpack-users] Tr : Localizing shortcuts

Julien Ponge julien.ponge at gmail.com
Wed Apr 25 18:02:27 CEST 2007


No worries Loic, there are many different countries represented here,
and we are used to handling these situations in a very peaceful way
;-)

On 4/24/07, Loic <lbndev at yahoo.fr> wrote:
>
> Hello,
>
> I'll answer my own question posted yesterday to the izPack-users lists,
> which is reproduced below.
> As a matter of fact, I found out that the answer is "no, shortcuts aren't
> localizable". Which is a shame.
>
> Since I badly need that, I went through the code from SVN and set up a
> patch, which you will find attached.
>
> What it does is :
>
> Search for a os-specific, language specific spec file (like
> Unix_shortcutSpec.xml_eng)
> If not found, search for a language specific (but OS-independent) spec (like
> shortcutSpec.xml_eng)
> If still not found, revert to the processing before the patch (OS-specific,
> and if not found, generic spec file)
> Please review it and merge it into SVN if you like it.
> I'd love to have a patched standalone-compiler.jar in izPack's next release.
>
> Thank you,
>
> Loïc
>
> ----- Message transféré ----
> De : Loic <lbndev at yahoo.fr>
> À : izpack-users at lists.berlios.de
> Envoyé le : Lundi, 23 Avril 2007, 15h58mn 43s
> Objet : Localizing shortcuts
>
>
>
> Hello,
>
> I am using ant and IzPack standalone compiler version 3.10.1
> I have the following in my izPack XML install file :
>
>     <locale>
>         <langpack iso3="fra"/>
>         <langpack iso3="eng"/>
>     </locale>
>     <resources>
>         <res src="FRLicence.txt" id="LicencePanel.licence_fra"/>
>         <res src="ENGLicence.txt" id="LicencePanel.licence_eng"/>
>         <res src="FRInfo.txt" id="InfoPanel.info_fra" />
>         <res src="ENInfo.txt" id="InfoPanel.info_eng" />
>         <res src="packsLang.xml_fra" id="packsLang.xml_fra"/>
>         <res src="packsLang.xml_eng" id="packsLang.xml_eng"/>
>         <res src="shortcutSpec.xml" id="shortcutSpec.xml" os="windows"/>
>         <res src="unix_shortcutSpec.xml" id="Unix_shortcutSpec.xml"
> os="linux"/>
>         <res src="processpanelSpec-en.xml" id="ProcessPanel.Spec.xml_eng"/>
>         <res src="processpanelSpec-fr.xml" id="ProcessPanel.Spec.xml_fra"/>
>     </resources>
>
> My problem is : I can't get IzPack to use an "english language shortcuts"
> file (my default files, as above, contain shortcuts descriptions and
> captions in french). I have tried adding these :
>
>         <res src="shortcutSpec-en.xml" id="shortcutSpec.xml_eng"
> os="windows"/>
>         <res src="unix_shortcutSpec-en.xml" id="Unix_shortcutSpec.xml_eng"
> os="linux"/>
>
> but it didn't seem to have any effect.
>
> LicencePanel localization works.
> InfoPanel localization works.
> Packs localization works.
> ProcessPanel localization works, too.
>
> But shortcuts just don't. My shortcuts are still created with french
> captions, while everything else is in english.
>
> Is it possible to localize shortcuts text, and if yes, how ?
>
> Thanks,
>
> Loïc
>
>
>  ________________________________
>  Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs
> exceptionnels pour appeler la France et l'international. Téléchargez la
> version beta.
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/izpack-users
>
>
>


More information about the izpack-users mailing list