[I18n-sig] Re: pygettext.py extraction of docstrings

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Wed, 15 Aug 2001 20:23:55 +0200


> 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