Mailing List Archive

CVS: python/dist/src/Doc/lib liblocale.tex,1.28,1.29
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv344/lib

Modified Files:
liblocale.tex
Log Message:
Minor consistency adjustments.

Index: liblocale.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/liblocale.tex,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** liblocale.tex 27 Mar 2002 18:49:02 -0000 1.28
--- liblocale.tex 28 Mar 2002 12:40:45 -0000 1.29
***************
*** 469,487 ****
that the \module{_locale} module is not accessible as a shared library.

! \subsection{Access to message catalogs}

The locale module exposes the C library's gettext interface on systems
! that provide this interface. It consists of the functions
! \function{gettext}, \function{dgettext}, \function{dcgettext},
! \function{textdomain}, and \function{bindtextdomain}. These are
! similar to the same functions in the \module{gettext} module, but use
the C library's binary format for message catalogs, and the C
library's search algorithms for locating message catalogs.

Python applications should normally find no need to invoke these
! functions, and should use \module{gettext} instead. A known exception
! to this rule are applications that link use additional C libraries
! which internally invoke \function{gettext} or \function{dgettext}. For
! these applications, it may be necessary to bind the text domain, so
! that the libraries can properly locate their message catalogs.
!
--- 469,488 ----
that the \module{_locale} module is not accessible as a shared library.

!
! \subsection{Access to message catalogs \label{locale-gettext}}

The locale module exposes the C library's gettext interface on systems
! that provide this interface. It consists of the functions
! \function{gettext()}, \function{dgettext()}, \function{dcgettext()},
! \function{textdomain()}, and \function{bindtextdomain()}. These are
! similar to the same functions in the \refmodule{gettext} module, but use
the C library's binary format for message catalogs, and the C
library's search algorithms for locating message catalogs.

Python applications should normally find no need to invoke these
! functions, and should use \refmodule{gettext} instead. A known
! exception to this rule are applications that link use additional C
! libraries which internally invoke \cfunction{gettext()} or
! \function{cdgettext()}. For these applications, it may be necessary to
! bind the text domain, so that the libraries can properly locate their
! message catalogs.