Re: Using gettext

Поиск
Список
Период
Сортировка
От Serguei A. Mokhov
Тема Re: Using gettext
Дата
Msg-id Pine.LNX.4.58.0410081405250.3527@ipecac.cs.concordia.ca
обсуждение исходный текст
Ответы Re: Using gettext  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-jdbc
----- Original Message -----
From: "Kris Jurka" <books@ejurka.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

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: tightening up on use of oid 0
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: tightening up on use of oid 0