[Python-checkins] python/dist/src/Misc NEWS,1.1050,1.1051
niemeyer at users.sourceforge.net
niemeyer at users.sourceforge.net
Thu Jul 22 20:44:03 CEST 2004
Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3065/Misc
Modified Files:
NEWS
Log Message:
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.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.1050
retrieving revision 1.1051
diff -C2 -d -r1.1050 -r1.1051
*** NEWS 22 Jul 2004 00:54:37 -0000 1.1050
--- NEWS 22 Jul 2004 18:44:00 -0000 1.1051
***************
*** 34,37 ****
--- 34,39 ----
Jython.
+ - Implemented bind_textdomain_codeset() in locale module.
+
Extension modules
-----------------
***************
*** 113,116 ****
--- 115,124 ----
no longer returns spurious empty fields.
+ - Implemented bind_textdomain_codeset() in gettext module.
+
+ - Introduced in gettext module the l*gettext() family of functions,
+ which return translation strings encoded in the preferred encoding,
+ as informed by locale module's getpreferredencoding().
+
Tools/Demos
More information about the Python-checkins
mailing list