[jboss-dev] jboss i18n and localization (l10n)

Max Rydahl Andersen max.andersen at redhat.com
Fri Jul 27 14:36:53 EDT 2007


Jason T. Greene wrote:
> Steve Ebersole wrote:
>>> what is Gettext?Xliff?
>> These are things the doc team keep mentioning to me.  They are meant 
>> for full blown translations as in docs.  They seem total overkill for 
>> this, especially the PO stuff.  Java internationalization (no idea 
>> about this IBM stuff) is based on already externalized strings kept in 
>> a file separate from the code for easy translation.
> 
> GNU Gettext is a portable localization API. It's main advantage over 
> Java i8ln is that it can handle the plural form problem.
> 
> For example:
> System.out.println(num + " file(s) changed");
> 
> This doesn't map well to other languages because many of them have 
> different rules for plurals (some have as many as 3 with a special form 
> for zero).

huh ? java localization has plural handling: 
http://java.sun.com/docs/books/tutorial/i18n/format/choiceFormat.html

What else does gettext do ?

...and since its under GPL we can't really use it...so...

/max



More information about the jboss-development mailing list