What's new? | Help | Directory | Sign in
Google
                
Feeds:
How to join?
Project owners:
  steffen.pingel, bergerfx
Project members:
tvanlessen, Simon.eu

The Gettext Commons project provides Java classes for internationalization (i18n) through GNU gettext.

The lightweight library combines the power of the unix-style gettext tools with the widely used Java ResourceBundles. This makes it possible to use the original text instead of arbitrary property keys, which is less cumbersome and makes programs easier to read. And there are a lot more advantages of using gettext:

Here is an example that demonstrates how easy it is to use the Gettext Commons:

I18n i18n = I18nFactory.getI18n(getClass());
System.out.println(i18n.tr("This text will be translated"));

Have a look at the tutorial to see how you can enhance your Java application with the Gettext Commons.