i18n
Emiliano <[email protected]> Mon, 7 Apr 2003 10:02:48 +0200
| Newsgroups | gmane.comp.java.xwt.general |
|---|---|
| Message-ID | <[email protected]> |
Hi all, still working on my i18n issue... would it be possible to use the approach that Mozilla uses? They just have their translations in a DTD like <!ENTITY label.val "Hello, Welcome to the xFly " > <!ENTITY btn.lbl "hello xFly " > and then reference it like this in a XUL file <!DOCTYPE window SYSTEM "chrome://xfly/locale/xfly.dtd" > After which you could use stuff like <button label="&btn.lbl;" oncommand="greet( );" /> Sounds plausible (xul and xwt do have a lot in common), but I don't know if thexwt xml parser handles external DTDs, and if so, how to point to them inside the xwar. Emile _______________________________________________ http://lists.xwt.org/listinfo/dev