pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Re: Translation updates: errors_ru.properties
6+ messages / 4 participants
[nested] [flat]

* Re: Translation updates: errors_ru.properties
@ 2004-10-06 19:27  Kris Jurka <books@ejurka.com>
  parent: Serguei Mokhov <mokhov@cs.concordia.ca>
  0 siblings, 2 replies; 6+ messages in thread

From: Kris Jurka @ 2004-10-06 19:27 UTC (permalink / raw)
  To: Serguei Mokhov <mokhov@cs.concordia.ca>; +Cc: pgsql-jdbc



On Wed, 6 Oct 2004, Serguei Mokhov wrote:

> A few more messages translated into Russian.
> Please install.

Done.  Thanks.

Note though that new messages do not get propagated into the 
various error message files.  Note:

$ wc -l err*
  133 errors.properties
   78 errors_de.properties
    6 errors_fr.properties
  117 errors_hu.properties
   75 errors_it.properties
   65 errors_nl.properties
  111 errors_pl.properties
  135 errors_pt_BR.properties
  118 errors_ru.properties
  109 errors_zh_TW.properties

I don't know if this is supposed to be done by the person doing the 
translation or the person updating the base errors.properties file.  In 
any case your still short some messages.

Kris Jurka



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Translation updates: errors_ru.properties
@ 2004-10-06 19:31  Serguei Mokhov <mokhov@cs.concordia.ca>
  0 siblings, 1 reply; 6+ messages in thread

From: Serguei Mokhov @ 2004-10-06 19:31 UTC (permalink / raw)
  To: pgsql-jdbc; +Cc: books@ejurka.com

Hello,

A few more messages translated into Russian.
Please install.

Thanks,

-s

 errors_ru.properties.gz

Attachments:

  errors_ru.properties.gz (application/x-gzip, 3.6K) download

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Translation updates: errors_ru.properties
@ 2004-10-07 16:53  Serguei A. Mokhov <mokhov@cs.concordia.ca>
  parent: Kris Jurka <books@ejurka.com>
  1 sibling, 1 reply; 6+ messages in thread

From: Serguei A. Mokhov @ 2004-10-07 16:53 UTC (permalink / raw)
  To: Kris Jurka <books@ejurka.com>; +Cc: pgsql-jdbc

On Wed, 6 Oct 2004, Kris Jurka wrote:

> Date: Wed, 6 Oct 2004 14:27:45 -0500 (EST)
> On Wed, 6 Oct 2004, Serguei Mokhov wrote:
>
> > A few more messages translated into Russian.
> > Please install.
>
> Done.  Thanks.

Thank in return ;-)

> Note though that new messages do not get propagated into the
> various error message files.  Note:

:(

> $ wc -l err*
>   133 errors.properties
>    78 errors_de.properties
>     6 errors_fr.properties
>   117 errors_hu.properties
>    75 errors_it.properties
>    65 errors_nl.properties
>   111 errors_pl.properties
>   135 errors_pt_BR.properties
>   118 errors_ru.properties
>   109 errors_zh_TW.properties
>
> I don't know if this is supposed to be done by the person doing the
> translation or the person updating the base errors.properties file.  In
> any case your still short some messages.

Peter E. and the pgAdmin team make it easier for translators by maintaing
the pages [1] and [2], with the new strings automatically merged in, to
ease up the job of translators who don't have necessarily the source tree
installed and possibly gettext or otherwise tools.

[1] http://developer.postgresql.org/~petere/nls.php
[2] http://www.pgadmin.org/pgadmin3/translation.php

It'd be cool if the JDBC project had a similar page updated daily or some
such, because it's a bit more tedious with the .properties files to find
what's missing than with .po files.

I will update the _ru translation to the current state soon.

> Kris Jurka
>

-- 
Serguei A. Mokhov            |  /~\    The ASCII
Computer Science Department  |  \ / Ribbon Campaign
Concordia University         |   X    Against HTML
Montreal, Quebec, Canada     |  / \      Email!



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Translation updates: errors_ru.properties
@ 2004-10-07 17:37  Kris Jurka <books@ejurka.com>
  parent: Serguei A. Mokhov <mokhov@cs.concordia.ca>
  0 siblings, 1 reply; 6+ messages in thread

From: Kris Jurka @ 2004-10-07 17:37 UTC (permalink / raw)
  To: Serguei A. Mokhov <mokhov@cs.concordia.ca>; +Cc: pgsql-jdbc



On Thu, 7 Oct 2004, Serguei A. Mokhov wrote:

> Peter E. and the pgAdmin team make it easier for translators by maintaing
> the pages [1] and [2], with the new strings automatically merged in, to
> ease up the job of translators who don't have necessarily the source tree
> installed and possibly gettext or otherwise tools.

Well these projects are a little different because they do use gettext 
which automatically produces the po files.  We considered using gettext 
for the JDBC driver, but kind of stalled because we did not want to add 
any build dependencies.  We could do this by checking the compiled files 
into cvs, but that isn't ideal either.  I'd still like to move to gettext
because I think the current system is error prone (and more work) for both 
developers and translators.

> It'd be cool if the JDBC project had a similar page updated daily or some
> such, because it's a bit more tedious with the .properties files to find
> what's missing than with .po files.

There are probably tools to compare properties files and merge them 
accordingly, but I'm not immediately aware of them.  The problem is when 
the English message changes there is no way to notice and update the 
translated message.  In the end I think the correct solution is to move to 
gettext.

Kris Jurka



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Translation updates: errors_ru.properties
@ 2004-10-07 20:15  Oliver Jowett <oliver@opencloud.com>
  parent: Kris Jurka <books@ejurka.com>
  1 sibling, 0 replies; 6+ messages in thread

From: Oliver Jowett @ 2004-10-07 20:15 UTC (permalink / raw)
  To: Kris Jurka <books@ejurka.com>; +Cc: pgsql-jdbc

Kris Jurka wrote:
> 
> On Wed, 6 Oct 2004, Serguei Mokhov wrote:
> 
> 
>>A few more messages translated into Russian.
>>Please install.
> 
> 
> Done.  Thanks.
> 
> Note though that new messages do not get propagated into the 
> various error message files. [...]
> 
> I don't know if this is supposed to be done by the person doing the 
> translation or the person updating the base errors.properties file.  In 
> any case your still short some messages.

If you put a "blank" message into the localized files (i.e. 
"postgresql.some.error=") will it prevent the fallback to the bare 
untranslated message ID in MessageTranslator? That would be bad. I don't 
usually touch the localized files for that reason.

We really do need a better (less developer-intensive) localization 
mechanism :(

-O



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Translation updates: errors_ru.properties
@ 2004-10-07 21:57  Serguei A. Mokhov <mokhov@cs.concordia.ca>
  parent: Kris Jurka <books@ejurka.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Serguei A. Mokhov @ 2004-10-07 21:57 UTC (permalink / raw)
  To: Kris Jurka <books@ejurka.com>; +Cc: pgsql-jdbc

On Thu, 7 Oct 2004, Kris Jurka wrote:

> Date: Thu, 7 Oct 2004 12:37:01 -0500 (EST)
>
> On Thu, 7 Oct 2004, Serguei A. Mokhov wrote:
>
> > Peter E. and the pgAdmin team make it easier for translators by maintaing
> > the pages [1] and [2], with the new strings automatically merged in, to
> > ease up the job of translators who don't have necessarily the source tree
> > installed and possibly gettext or otherwise tools.
>
> Well these projects are a little different because they do use gettext
> which automatically produces the po files.  We considered using gettext
> for the JDBC driver, but kind of stalled because we did not want to add
> any build dependencies.  We could do this by checking the compiled files
> into cvs, but that isn't ideal either.  I'd still like to move to gettext
> because I think the current system is error prone (and more work) for both
> developers and translators.
>
> > It'd be cool if the JDBC project had a similar page updated daily or some
> > such, because it's a bit more tedious with the .properties files to find
> > what's missing than with .po files.
>
> There are probably tools to compare properties files and merge them
> accordingly, but I'm not immediately aware of them.  The problem is when
> the English message changes there is no way to notice and update the
> translated message.

Totally agree with you on all of the above.

> In the end I think the correct solution is to move to
> gettext.

When do you think that might happen?

> Kris Jurka
>

-- 
Serguei A. Mokhov            |  /~\    The ASCII
Computer Science Department  |  \ / Ribbon Campaign
Concordia University         |   X    Against HTML
Montreal, Quebec, Canada     |  / \      Email!



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2004-10-07 21:57 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-10-06 19:31 Translation updates: errors_ru.properties Serguei Mokhov <mokhov@cs.concordia.ca>
2004-10-06 19:27 ` Kris Jurka <books@ejurka.com>
2004-10-07 16:53   ` Serguei A. Mokhov <mokhov@cs.concordia.ca>
2004-10-07 17:37     ` Kris Jurka <books@ejurka.com>
2004-10-07 21:57       ` Serguei A. Mokhov <mokhov@cs.concordia.ca>
2004-10-07 20:15   ` Oliver Jowett <oliver@opencloud.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox