X-Original-To: pgsql-docs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 3F0F15292C for ; Sun, 12 Jun 2005 08:07:41 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 38544-06 for ; Sun, 12 Jun 2005 11:07:32 +0000 (GMT) Received: from web52706.mail.yahoo.com (web52706.mail.yahoo.com [206.190.39.157]) by svr1.postgresql.org (Postfix) with SMTP id D43045280A for ; Sun, 12 Jun 2005 08:07:31 -0300 (ADT) Received: (qmail 63571 invoked by uid 60001); 12 Jun 2005 11:07:34 -0000 Message-ID: <20050612110733.63569.qmail@web52706.mail.yahoo.com> Received: from [201.8.95.86] by web52706.mail.yahoo.com via HTTP; Sun, 12 Jun 2005 08:07:33 ART Date: Sun, 12 Jun 2005 08:07:33 -0300 (ART) From: Halley Pacheco de Oliveira Subject: Chapter 44. Native Language Support To: pgsql-docs@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.772 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE X-Spam-Level: X-Archive-Number: 200506/19 X-Sequence-Number: 3112 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