Re: some missing internationalization in pg_basebackup

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: some missing internationalization in pg_basebackup
Date: 2011-08-10 09:39:59
Message-ID: CABUevEyyHbvcQywcJbDB3L16vHWopUFeFV-J-z68JzOm8Ld2pQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Aug 9, 2011 at 13:38, Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
> I noticed that the progress reporting code in pg_basebackup does not
> allow for translation.  This would normally be easy to fix, but this
> code has a number of tricky issues, including the INT64_FORMAT, possibly
> some plural concerns, and some space alignment issues that hidden in
> some of those hardcoded numbers.
>
> I'm just posting it here as an open item in case someone has some ideas
> in the meantime.

Hm. i didn't consider translation at all when writing that. Looking at
it from that perspective, I realize it's pretty darn hard to make it
translatable.

Maybe it can/should be rewritten not to try to do all those things in
one step, thus making it easier somehow? I'm afraid I don't know
enough about the translation system to know exactly what would go all
the way there, though..

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Korotkov 2011-08-10 10:19:13 Re: WIP: Fast GiST index build
Previous Message Magnus Hagander 2011-08-10 09:29:13 Re: Enforcing that all WAL has been replayed after restoring from backup