delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/05/14/16:58:03

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <482B5260.40801@x-ray.at>
Date: Wed, 14 May 2008 22:58:08 +0200
From: Reini Urban <rurban AT x-ray DOT at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8.1.13) Gecko/20080313 SeaMonkey/1.1.9
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: postgresql package and error message translations
References: <91325fec0805140122t80d5d7fh8f4824b1d91b799c AT mail DOT gmail DOT com>
In-Reply-To: <91325fec0805140122t80d5d7fh8f4824b1d91b799c@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Dmitry Teslenko schrieb:
> Hello!
> I use postgresql tools such as psql, pg_dump, etc.
> If I invoke them as "/bin/psql" they product error (and probably other) messages
> in english; but if I invoke them as "psql" or "/usr/bin/psql" they
> produce messages
> in my native language (russian) in koi8-r encoding and windows' default encoding
> for text in my native language is cp1251 (or windows-1251). That means I get
> garbage in terminal.
> I've chosen unix file format when installing cygwin and problem
> described can be
> observed with both "current" and "experimental" versions of cygwin packages.
> I have no interest in error messages in my native language so is there way
> to turn them off once and for all?

That's an expensive feature you are annoyed at :)
export LC_MESSAGES=C
should do it theoretically.

However for me it didn't work.
You can delete or rename your locale catalog as last ressort.
   /usr/share/locale/ru/LC_MESSAGES/psql.mo
-- 
Reini Urban
http://phpwiki.org/  http://murbreak.at/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019