Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
e3a3ceb2
Kaydet (Commit)
e3a3ceb2
authored
Mar 28, 2002
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Minor consistency adjustments.
üst
d1139e04
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
11 deletions
+12
-11
liblocale.tex
Doc/lib/liblocale.tex
+12
-11
No files found.
Doc/lib/liblocale.tex
Dosyayı görüntüle @
e3a3ceb2
...
@@ -468,20 +468,21 @@ application doesn't want this to happen, it should remove the
...
@@ -468,20 +468,21 @@ application doesn't want this to happen, it should remove the
table of built-in modules in the
\file
{
config.c
}
file, and make sure
table of built-in modules in the
\file
{
config.c
}
file, and make sure
that the
\module
{_
locale
}
module is not accessible as a shared library.
that the
\module
{_
locale
}
module is not accessible as a shared library.
\subsection
{
Access to message catalogs
}
\subsection
{
Access to message catalogs
\label
{
locale-gettext
}}
The locale module exposes the C library's gettext interface on systems
The locale module exposes the C library's gettext interface on systems
that provide this interface. It consists of the functions
that provide this interface.
It consists of the functions
\function
{
gettext
}
,
\function
{
dgettext
}
,
\function
{
dcgettext
}
,
\function
{
gettext
()
}
,
\function
{
dgettext()
}
,
\function
{
dcgettext()
}
,
\function
{
textdomain
}
, and
\function
{
bindtextdomain
}
.
These are
\function
{
textdomain
()
}
, and
\function
{
bindtextdomain()
}
.
These are
similar to the same functions in the
\module
{
gettext
}
module, but use
similar to the same functions in the
\
ref
module
{
gettext
}
module, but use
the C library's binary format for message catalogs, and the C
the C library's binary format for message catalogs, and the C
library's search algorithms for locating message catalogs.
library's search algorithms for locating message catalogs.
Python applications should normally find no need to invoke these
Python applications should normally find no need to invoke these
functions, and should use
\
module
{
gettext
}
instead. A known exceptio
n
functions, and should use
\
refmodule
{
gettext
}
instead. A know
n
to this rule are applications that link use additional C libraries
exception to this rule are applications that link use additional C
which internally invoke
\function
{
gettext
}
or
\function
{
dgettext
}
. F
or
libraries which internally invoke
\cfunction
{
gettext()
}
or
these applications, it may be necessary to bind the text domain, s
o
\function
{
cdgettext()
}
. For these applications, it may be necessary t
o
that the libraries can properly locate their message catalogs.
bind the text domain, so that the libraries can properly locate their
message catalogs.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment