This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: gettext improvements
Type: Stage:
Components: Library (Lib) Versions: Python 2.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: niemeyer Nosy List: barry, niemeyer
Priority: normal Keywords: patch

Created on 2004-06-27 02:17 by niemeyer, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
gettext.patch niemeyer, 2004-06-27 02:29
Messages (3)
msg46246 - (view) Author: Gustavo Niemeyer (niemeyer) * (Python committer) Date: 2004-06-27 02:17
This patch 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 install() and 
  translate() functions and catalog classes. 
- Documentated every change. 
 
msg46247 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2004-07-09 17:45
Logged In: YES 
user_id=12800

Feedback provided to poster in pvt email.  If those (minor)
concerns are addressed, +1 on committing this.
msg46248 - (view) Author: Gustavo Niemeyer (niemeyer) * (Python committer) Date: 2004-07-22 18:47
Logged In: YES 
user_id=7887

Thanks for reviewing it! 
 
Committed as: 
 
Modules/_localemodule.c: 2.48 
Misc/NEWS: 1.1051 
Lib/gettext.py: 1.24 
Doc/lib/liblocale.tex: 1.37 
Doc/lib/libgettext.tex: 1.25 
pyconfig.h.in: 1.101 
configure.in: 1.463 
History
Date User Action Args
2022-04-11 14:56:05adminsetgithub: 40468
2004-06-27 02:17:33niemeyercreate