Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a PostgreSQL 8.4 database, installed with Japanese as the main language. I am connecting from an English Windows 7 client using psql.exe. Is there any way to change the UI of the messages shown to me (e.g. the help, column headers from the \l command, etc) to English?

I know that I can set the character encoding using \encoding, but I really want to change the UI language from ja_JP to en_US (or similar).

I can't see anything in the psql documentation. Any ideas?

share|improve this question
In a Linux environment, this is controlled by environment variables on the client. If your OS is generally set to one language, psql should behave the same. Not sure why that doesn't work in your case. – Peter Eisentraut Dec 25 '10 at 10:28
up vote 1 down vote accepted

In Windows also, psql only looks at the LC_MESSAGES envvar. Therefore this works...

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.