Re: [Java-gnome-developer] Multi lingual application
Brought to you by:
afcowie
From: Andrew C. <an...@op...> - 2009-01-18 01:07:59
|
On Sat, 2009-01-17 at 16:18 +0100, Goundy wrote: > Well I'm requesting some advices about implementing multi lingual > application Our i18n support is in the Internationalization class: http://java-gnome.sourceforge.net/4.0/doc/api/org/freedesktop/bindings/Internationalization.html but see also: http://bugzilla.gnome.org/show_bug.cgi?id=531601 ++ Look at Slashtime for a real-world working implementation of this in a java-gnome based application. Translations exist for fr_CA and tr_TR. The hard part is the build infrastructure to support building the intermediate and message files. But you can manage that any way you please. The real point is to create the .po files from which your build can create the .mo files. Don't commit the .pot file to your version control system. ++ > I use libglade for my GUI, and I told myself let's create different glade > XML files for each language I don't use Glade for UIs anymore, but I can tell you 100% that this would be incorrect. Glade .xml files can be have their strings marked for translation and then those strings extracted like any other internationalized artifact. AfC Sydney -- Andrew Frederick Cowie Operational Dynamics is an operations and engineering consultancy focusing on IT strategy, organizational architecture, systems review, and effective procedures for change management: enabling successful deployment of mission critical information technology in enterprises, worldwide. http://www.operationaldynamics.com/ Sydney New York Toronto London |