Re: pygettext.py extraction of docstrings

"Martin v. Loewis" <[email protected]>
Newsgroups gmane.comp.python.internationalization
Message-ID <[email protected]>
> When a Python program contains a string like "%(name)s, %(firstname)s"
> xgettext will mark it as "#, python-format", in order to tell the
> translator that the string is a format string. If the translator then
> gives an incorrect translation, say "%(fistname)s %(name)s" or
> "%(firstname) %(name)s", then "msgfmt --check" will give an
> appropriate error message.

That's pretty cool.

Regards,
Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.