Re: Using gettext

From: "Serguei A(dot) Mokhov" <mokhov(at)cs(dot)concordia(dot)ca>
To: Kris Jurka <books(at)ejurka(dot)com>
Cc: PostgreSQL JDBC Folks <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Using gettext
Date: 2004-10-08 18:07:11
Message-ID: Pine.LNX.4.58.0410081405250.3527@ipecac.cs.concordia.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

----- Original Message -----
From: "Kris Jurka" <books(at)ejurka(dot)com>
Sent: October 07, 2004 9:02 PM

> > > Unfortunately no one seems to be using gettext and Java together.
> > > Searching google for "java gettext translation" unfortunately comes back
> > > with the first result of my message to the list in January noting the
> > > pros/cons of using gettext for our jdbc driver. How do other large Java
> > > projects handle this? 130 messages isn't really all that many, how
> > > can a big project cope?
> >
> > They use gettext! :-)
> >
> > I googled for java+gettext+gnu and found:
>
> That's not what this shows. The search result shows that gettext has some
> support for Java. We already knew that. In the email I cited I included
> a sample Java project built with gettext support.
>
> The question was what other Java projects are actually using gettext, and
> I haven't seen any search results showing anyone actually using this
> functionality. This naturally makes me a bit suspicious because it looks
> like an obvious at first solution.

Ah, I guess we were not on the same wavelength... Looks like your ideas
back in January [1] were supported, someone just need to bite the bullet
and actually make it happen. If we be the first big project to adopt
gettext for Java, let it be so. The advantages of .po over .properties are
really overwhelming.

Maybe as far as storing the files in the project, is to keep both: the
source .po and the compiled .class (should be produced by the actual
translator, so the translator should have the tools, but the developers
don't require them), just like pgAdmin project keeps both .po and compiled
.mo files in the CVS.

I googled a bit more for Java projects that use gettext for Java:

The Translation Project:

http://sourceforge.net/mailarchive/forum.php?forum_id=7939&max_rows=25&style=nested&viewmonth=200203

OpenOffice were at least considering it:

http://development.openoffice.org/digest/2004_w03.html#native_za

Zope talks about it:

http://dev.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/Zope3Book/i18noverview.pdf

Maybe there are some others, but I ran out of time to look for 'em. It
appears that many use ICU instead from IBM. I personally DO support the
gettext idea.

> Kris Jurka
>

-s

[1] http://archives.postgresql.org/pgsql-jdbc/2004-01/msg00220.php

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Oliver Jowett 2004-10-08 20:23:10 Re: tightening up on use of oid 0
Previous Message Kris Jurka 2004-10-08 13:30:16 Re: tightening up on use of oid 0