]> granicus.if.org Git - python/commit
This change implements the following gettext features, as
authorGustavo Niemeyer <gustavo@niemeyer.net>
Thu, 22 Jul 2004 18:44:01 +0000 (18:44 +0000)
committerGustavo Niemeyer <gustavo@niemeyer.net>
Thu, 22 Jul 2004 18:44:01 +0000 (18:44 +0000)
commit7bd33c5e22c67e06042fb7ab1186f7587d78153d
tree16506bbe1ea96afd7c579802ed92dd1eb8c62a14
parent5980ff2d924b55cf963e9fb69f41c86b45f4099a
This change implements the following gettext features, as
discussed recently in python-dev:

In _locale module:

- bind_textdomain_codeset() binding

In gettext module:

- bind_textdomain_codeset() function
- lgettext(), lngettext(), ldgettext(), ldngettext(),
  which return translated strings encoded in
  preferred system encoding, if
  bind_textdomain_codeset() was not used.
- Added equivalent functionality in translate()
  function and catalog classes.

Every change was also documented.
Doc/lib/libgettext.tex
Doc/lib/liblocale.tex
Lib/gettext.py
Misc/NEWS
Modules/_localemodule.c
configure.in
pyconfig.h.in