[Patches] [ python-Patches-980500 ] gettext improvements

SourceForge.net noreply at sourceforge.net
Thu Jul 22 20:47:51 CEST 2004


Patches item #980500, was opened at 2004-06-27 02:17
Message generated for change (Comment added) made by niemeyer
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=980500&group_id=5470

Category: Library (Lib)
Group: Python 2.4
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Gustavo Niemeyer (niemeyer)
>Assigned to: Gustavo Niemeyer (niemeyer)
Summary: gettext improvements

Initial Comment:
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. 
 

----------------------------------------------------------------------

>Comment By: Gustavo Niemeyer (niemeyer)
Date: 2004-07-22 18:47

Message:
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 

----------------------------------------------------------------------

Comment By: Barry A. Warsaw (bwarsaw)
Date: 2004-07-09 17:45

Message:
Logged In: YES 
user_id=12800

Feedback provided to poster in pvt email.  If those (minor)
concerns are addressed, +1 on committing this.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=980500&group_id=5470


More information about the Patches mailing list