Hello, I've just commited in latest dev tree all the machinery to support the translation of dialogs. Right now, only the login dialog is translated. Feel free to submit patches. ;)
The following diffs should show you the necessary structure to add in the .ui files. This is pretty heavyweight right now but WDialog's author told me he would improve that in the future (and even support gettext system). For more details, see http://sourceforge.net/mailarchive/message.php?msg_id=14318180 - <h1>Browse position base</h1> + + <ui:cond> + <ui:iflang xml:lang="fr"> + <h1>Naviguation dans la base des positions</h1> + </ui:iflang> + <ui:true> + <h1>Browse position base</h1> + </ui:true> + </ui:cond> - <p>Please enter your login and password:</p> - <p> - Login: <ui:text variable="session.login"/> <br/> - Password: <ui:password variable="session.password"/> <br/> - <ui:button name="login" label="Login"/> - </p> - </ui:form> + <ui:cond> + <ui:iflang xml:lang="fr"> + <p>Veuillez entrer votre identifiant et mot de passe :</p> + <p> + Identifiant : <ui:text variable="session.login"/> <br/> + Mot de passe : + <ui:password variable="session.password"/> <br/> + <ui:button name="login" label="S'identifier"/> + </p> + </ui:iflang> + + <ui:true> + <p>Please enter your login and password:</p> + <p> + Login: <ui:text variable="session.login"/> <br/> + Password: <ui:password variable="session.password"/> <br/> + <ui:button name="login" label="Login"/> + </p> + </ui:true> + </ui:cond> + + <p> + <a href="?lang=fr">fr</a> + <a href="?lang=en">en</a> + </p> + + </ui:form> Best wishes, d. -- pub 1024D/A3AD7A2A 2004-10-03 David MENTRE <[EMAIL PROTECTED]> 5996 CC46 4612 9CA4 3562 D7AC 6C67 9E96 A3AD 7A2A _______________________________________________ Demexp-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/demexp-dev
