Chapter 44. Native Language Support - Mailing list pgsql-docs

From Halley Pacheco de Oliveira
Subject Chapter 44. Native Language Support
Date
Msg-id 20050612110733.63569.qmail@web52706.mail.yahoo.com
Whole thread Raw
List pgsql-docs
In Chapter 44. Native Language Support, 44.1.2. Concepts
(http://www.postgresql.org/docs/8.0/interactive/nls.html) is written:

The extension of the message catalog file is to no surprise either .po or .mo. The base name is
either the name of the program it accompanies, or the language the file is for, depending on the
situation. This is a bit confusing. Examples are psql.po (PO file for psql) or fr.mo (MO file in
French).

But when I execute in Fedora Core 3:

$ locate psql.po

I get no files, and when I execute:

$ locate psql.mo

I get several files

/usr/share/locale/cs/LC_MESSAGES/psql.mo
/usr/share/locale/de/LC_MESSAGES/psql.mo
/usr/share/locale/es/LC_MESSAGES/psql.mo
/usr/share/locale/fr/LC_MESSAGES/psql.mo
/usr/share/locale/hu/LC_MESSAGES/psql.mo
/usr/share/locale/it/LC_MESSAGES/psql.mo
/usr/share/locale/pt_BR/LC_MESSAGES/psql.mo
/usr/share/locale/sv/LC_MESSAGES/psql.mo
/usr/share/locale/tr/LC_MESSAGES/psql.mo
/usr/share/locale/zh_CN/LC_MESSAGES/psql.mo
/usr/share/locale/zh_TW/LC_MESSAGES/psql.mo
/usr/share/locale/ru/LC_MESSAGES/psql.mo
/usr/share/locale/sl/LC_MESSAGES/psql.mo
/usr/share/locale/nb/LC_MESSAGES/psql.mo

And in psql po directory there is no psql.po

$ pwd
/tmp/postgresql-8.0.1/src/bin/psql/po

$ ls
cs.po  es.po  fr.po  it.po  nb.po    pt_BR.po  ru.po  sl.po  tr.po     zh_TW.po
de.po  fa.po  hu.po  ko.po  psql.mo  ro.po     sk.po  sv.po  zh_CN.po

So this is really a bit confusing, and I think it should be:

Examples are psql.mo (MO file for psql) or fr.po (PO file in French).

Regards,
Halley






____________________________________________________
Yahoo! Mail, cada vez melhor: agora com 1GB de espaço grátis! http://mail.yahoo.com.br

pgsql-docs by date:

Previous
From: Halley Pacheco de Oliveira
Date:
Subject: PostgreSQL 7.4 and 8.0 - psql reference
Next
From: Tom Lane
Date:
Subject: Re: PostgreSQL 7.4 and 8.0 - psql reference