public inbox for [email protected]  
help / color / mirror / Atom feed
From: Halley Pacheco de Oliveira <[email protected]>
To: [email protected]
Subject: Chapter 44. Native Language Support
Date: Sun, 12 Jun 2005 08:07:33 -0300 (ART)
Message-ID: <[email protected]> (raw)

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




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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: Chapter 44. Native Language Support
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox