Open Source Development Tutorials | Newsletter Signup | About Us
Search  

Go Back   Open Source Tutorials Forum > Databases > PostgreSQL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-10-2004, 08:14 AM
wingchun wingchun is offline
Junior Member
 
Join Date: Jun 2004
Posts: 4 wingchun is on a distinguished road
Default Change language for error messages

Hallo. to all,
first of all i want to exuse me for my english and then i have a question :
I installed Postgresql on my windows2000(by cygWin) but i' not able to change the language(from english to italian) of the error messages that the RDBMS sent me.
Tanks.
Reply With Quote
  #2  
Old 06-14-2004, 08:08 AM
md_doc md_doc is offline
ubergeek
 
Join Date: Oct 2003
Posts: 204 md_doc has disabled reputation
Default

Hello--

I found the following doc that explains it but not very well http://www.postgresql.org/docs/current/static/nls.html

The important part os 64.1.3 which says go into the data dir and look to see if there is a file called nls.mk. If there is then some translation might have been done already.

In your case you want to see if there is a file called it.po, if there is not then you are going to have to make one yourself by doing a

gmake init-po

That will create a template file called program.pot you need to rename it to it.po

You will also need to edit the nls.mk file, the line that says
AVAIL_LANGUAGES := de fr

in your case you will want to add in "it"

AVAIL_LANGUAGES := de fr it

or something similar depending on what it looked like originally.

Once you have done both of those things do a

gmake update-po

and you should be all set.
__________________
md
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



All times are GMT -5. The time now is 05:55 PM.


Powered by: vBulletin Version 3.0.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright 2004 - 2006 GrindingGears.com. All Rights Reserved.