pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Susanne Ebrecht <susanne@2ndquadrant.com>
To: pgsql-bugs@postgresql.org
Subject: Syntax got translated
Date: Sat, 18 Feb 2012 22:11:54 +0100
Message-ID: <4F40141A.2060109@2ndquadrant.com> (raw)

Hello,

I tested 9.1.2 and I used --enable-nls in ./configure.

I used psql.

I tested German, French and Spanish - I guess it is in all translated 
languages.

The test is very easy:

CREATE TABLE t(i serial);

\d t

Output in German:
i      | integer | not null Vorgabewert nextval('t_i_seq'::regclass)

Output in French:
i       | integer | non NULL Par défaut, nextval('t_i_seq'::regclass)

Output in Spanish:
i       | integer | not null valor por omisión nextval('t_i_seq'::regclass)

I think that the constraint keyword "DEFAULT" should not be translated here.
In my eyes in all cases it should output:

i      | integer | not null default nextval('t_i_seq'::regclass)

Susanne

-- 
Dipl. Inf. Susanne Ebrecht - 2ndQuadrant
PostgreSQL Development, 24x7 Support, Training and Services
www.2ndQuadrant.com




view thread (12+ messages)  latest in thread

Message-ID: <4F40141A.2060109@2ndquadrant.com>
Permalink:  ../4F40141A.2060109@2ndquadrant.com/
Also on:    postgresql.org/message-id/4F40141A.2060109@2ndquadrant.com

 · 

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: susanne@2ndquadrant.com
  Subject: Re: Syntax got translated
  In-Reply-To: <4F40141A.2060109@2ndquadrant.com>
  References: <4F40141A.2060109@2ndquadrant.com>

* 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