pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Guillaume Lelarge <guillaume@lelarge.info>
To: Susanne Ebrecht <susanne@2ndquadrant.com>
Cc: Alvaro Herrera <alvherre@commandprompt.com>
Cc: Pg Bugs <pgsql-bugs@postgresql.org>
Subject: Re: Syntax got translated
Date: Mon, 20 Feb 2012 22:12:48 +0100
Message-ID: <a06cf1bf4ae231a0bd7aafefeb00240f@localhost> (raw)
In-Reply-To: <4F42B175.6010703@2ndquadrant.com>
References: <4F40141A.2060109@2ndquadrant.com>
	<1329757905-sup-8549@alvh.no-ip.org>
	<8fb0c1eb813b2718f15dc2c357f43768@localhost>
	<4F42B175.6010703@2ndquadrant.com>

On Mon, 20 Feb 2012 21:47:49 +0100, Susanne Ebrecht
<susanne@2ndquadrant.com> wrote:
> Am 20.02.2012 21:22, schrieb Guillaume Lelarge:
>>
>> I don't see why the modifiers shouldn't be translatable. It's not as if
>> they were intended to be copied and pasted in a query. They are here to
>> help the user understand the different modifiers in each column.
>>
> 
> Of course they are intended to get copied and pasted. In support you 
> often ask
> for output from \d tablename. And when I look to the languages that I 
> never learned,
> especially when I look into Turkish - I would read NULL and not would 
> estimate column is
> not NULL.
> 
> Default and not null are keywords - they are valid sql syntax.
> They are constraint definitions.
> 
> When I output the table definition I want the constraint definition - I 
> don't want to translate it
> back to english to understand - ahhhh default is meant.
> 

If that's so, nothing should be translatable in psql. If you do \d, the
second column is the relation type. I guess seeing vue instead of view
won't help you, so we need to stop translating this. The table's title
shouldn't be translatable too. Etc.

If you want the english way, you already can do this. You just need to ask
your customer to use "LANG=C psql" instead of psql.


-- 
Guillaume
 http://www.postgresql.fr
 http://dalibo.com



view thread (12+ messages)  latest in thread

Message-ID: <a06cf1bf4ae231a0bd7aafefeb00240f@localhost>
Permalink:  ../a06cf1bf4ae231a0bd7aafefeb00240f@localhost/
Also on:    postgresql.org/message-id/a06cf1bf4ae231a0bd7aafefeb00240f@localhost

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: guillaume@lelarge.info, susanne@2ndquadrant.com, alvherre@commandprompt.com
  Subject: Re: Syntax got translated
  In-Reply-To: <a06cf1bf4ae231a0bd7aafefeb00240f@localhost>
  References: <4F40141A.2060109@2ndquadrant.com> <1329757905-sup-8549@alvh.no-ip.org> <8fb0c1eb813b2718f15dc2c357f43768@localhost> <4F42B175.6010703@2ndquadrant.com> <a06cf1bf4ae231a0bd7aafefeb00240f@localhost>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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