[I18n-sig] pygettext and PEP #?#
Roman Suzi
rnd@onego.ru
Fri, 14 Sep 2001 23:38:00 +0400 (MSD)
Hello!
I remeber we had hot discussion about how to tell
Python which encoding it's code is in.
po-files use the following convention:
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: Fri Sep 14 21:32:52 2001\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: ENCODING\n"
"Generated-By: pygettext.py 1.3\n"
Probably Python's module-level doc-string could also adopt
RFC-822 style header which will provide such meta-information?
(Right now doc strings do not concatenate).
That is, making __doc__ RFC822 message which header has metainfromation
and body - usual comments.
Sincerely yours, Roman Suzi
--
_/ Russia _/ Karelia _/ Petrozavodsk _/ rnd@onego.ru _/
_/ Friday, September 14, 2001 _/ Powered by Linux RedHat 6.2 _/
_/ "URA Redneck if you own a homemade fur coat." _/