summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libgettext.tex
Commit message (Collapse)AuthorAgeFilesLines
* This change implements the following gettext features, asGustavo Niemeyer2004-07-221-12/+120
| | | | | | | | | | | | | | | | | | | | 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.
* [Bug 949832] Fix example; edit sentenceAndrew M. Kuchling2004-07-101-3/+3
|
* Fix some digicool addresses I noticedAndrew M. Kuchling2004-01-081-2/+2
|
* SF patch#786531 'the the' typo. Contributed by George YoshidaRaymond Hettinger2003-08-121-1/+1
|
* Patch #781126: Fix markup for add_fallback. Will backport to 2.3.Martin v. Löwis2003-08-051-1/+1
|
* Avoid a 301 permanent redirect.Fred Drake2003-07-221-1/+1
| | | | Part of SF patch #773007.
* Fix a variety of small markup nits.Fred Drake2003-07-021-1/+1
|
* Updated a bunch of docs to describe how message ids and strings areBarry Warsaw2003-04-241-29/+73
| | | | | | Unicode in GNUTranslations. Also provide better descriptions of *gettext() overridden methods, esp. w.r.t. the behavior in the face of fallbacks.
* Back out of setting the default charset to iso-8859-1.Barry Warsaw2003-04-111-1/+1
|
* Fix markupNeal Norwitz2003-04-111-1/+1
|
* From http://mail.python.org/pipermail/i18n-sig/2003-April/001557.htmlBarry Warsaw2003-04-111-8/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Expose NullTranslations and GNUTranslations to __all__ - Set the default charset to iso-8859-1. It used to be None, which would cause problems with .ugettext() if the file had no charset parameter. Arguably, the po/mo file would be broken, but I still think iso-8859-1 is a reasonable default. - Add a "coerce" default argument to GNUTranslations's constructor. The reason for this is that in Zope, we want all msgids and msgstrs to be Unicode. For the latter, we could use .ugettext() but there isn't currently a mechanism for Unicode-ifying msgids. The plan then is that the charset parameter specifies the encoding for both the msgids and msgstrs, and both are decoded to Unicode when read. For example, we might encode po files with utf-8. I think the GNU gettext tools don't care. Since this could potentially break code [*] that wants to use the encoded interface .gettext(), the constructor flag is added, defaulting to False. Most code I suspect will want to set this to True and use .ugettext(). - A few other minor changes from the Zope project, including asserting that a zero-length msgid must have a Project-ID-Version header for it to be counted as the metadata record.
* Fix markup.Fred Drake2002-11-221-1/+1
|
* Patch #633547: Support plural forms. Do TODOs in test suite.Martin v. Löwis2002-11-211-0/+45
|
* SF # 572928 One word change for lib/libgettext.texNeal Norwitz2002-06-241-1/+1
| | | | Fix typo.
* Add a per-message fallback mechanism for translations.Martin v. Löwis2002-01-111-12/+31
|
* Add fallback argument to translation(). Request fallbacks on install.Martin v. Löwis2002-01-111-2/+5
| | | | Fixes #500595.
* Some minor clarifications for find()'s arguments based on SF bugBarry Warsaw2001-10-181-5/+6
| | | | #463572. Closing.
* Fix up a few style nits -- avoid "e.g." and "i.e." -- these makeFred Drake2001-07-061-11/+11
| | | | | translation more difficult, as well as reading the English more difficult for non-native speakers.
* Some rewriting of the "Internationalizing your programs and modules"Barry Warsaw2001-01-311-20/+41
| | | | subsection to include a discussion of the msgfmt.py program.
* Fixing author's email address.Barry Warsaw2001-01-151-2/+2
|
* Include a link to Francois's po-utils.Barry Warsaw2000-09-131-2/+3
|
* \file is not allowed in section titles -- converting to PDF fails due toFred Drake2000-09-071-3/+3
| | | | | | | weird macro-expansion issues. A better solution may be available in the future, but this will do for now. Add an index entry. More should probably be added as well.
* Markup revisions. Nothing was actually required to be able to format it,Fred Drake2000-08-301-54/+55
| | | | but many conventions were broken.
* Oops, spell MAL's name right.Barry Warsaw2000-08-301-1/+1
|
* Documentation for the gettext module.Barry Warsaw2000-08-301-0/+495