Chapter 44. Native Language Support
От | Halley Pacheco de Oliveira |
---|---|
Тема | Chapter 44. Native Language Support |
Дата | |
Msg-id | 20050612110733.63569.qmail@web52706.mail.yahoo.com обсуждение исходный текст |
Список | 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 по дате отправления: