Gettext Commons 0.9 review
DownloadGettext Commons project provides Java classes for internationalization (i18n) through GNU gettext. The lightweight Gettext Commons
|
|
Gettext Commons project provides Java classes for internationalization (i18n) through GNU gettext.
The lightweight Gettext Commons library combines the power of the Unix-style GNU gettext tools with the widely used Java ResourceBundles. We find that the usual Java i18n approach of using custom property keys rather than the original text is cumbersome to use and makes programs harder to read.
All user visible text is replaced by arbitrary keys complicating lookups of strings in the source.
There are a few more advantages of using gettext:
- Easy extraction of user visible strings
- Strings are marked as fuzzy when the original text changes so translators can check if the translations still match
- Powerful plural handling
- Build process integration through Maven
Gettext Commons 0.9 search tags