Linux server.nvwebsoft.co.in 3.10.0-1160.114.2.el7.x86_64 #1 SMP Wed Mar 20 15:54:52 UTC 2024 x86_64
Apache
: 162.240.12.249 | : 18.117.94.221
202 Domain
8.1.31
nbspublicschool
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
python-babel-0.9.6 /
doc /
[ HOME SHELL ]
Name
Size
Permission
Action
api
[ DIR ]
drwxr-xr-x
common
[ DIR ]
drwxr-xr-x
cmdline.html
8.19
KB
-rw-r--r--
cmdline.txt
6.57
KB
-rw-r--r--
dates.html
16.4
KB
-rw-r--r--
dates.txt
13.66
KB
-rw-r--r--
display.html
4.33
KB
-rw-r--r--
display.txt
2.36
KB
-rw-r--r--
index.html
1.88
KB
-rw-r--r--
index.txt
882
B
-rw-r--r--
intro.html
3.81
KB
-rw-r--r--
intro.txt
2.44
KB
-rw-r--r--
logo.pdf
43.93
KB
-rw-r--r--
logo.png
15.12
KB
-rw-r--r--
logo_small.png
5.97
KB
-rw-r--r--
messages.html
17.44
KB
-rw-r--r--
messages.txt
11.7
KB
-rw-r--r--
numbers.html
6.05
KB
-rw-r--r--
numbers.txt
4.66
KB
-rw-r--r--
setup.html
18.86
KB
-rw-r--r--
setup.txt
14.84
KB
-rw-r--r--
support.html
3.17
KB
-rw-r--r--
support.txt
1.73
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : intro.txt
.. -*- mode: rst; encoding: utf-8 -*- ============ Introduction ============ The functionality Babel provides for internationalization (I18n) and localization (L10N) can be separated into two different aspects: * tools to build and work with ``gettext`` message catalogs, and * a Python interface to the CLDR (Common Locale Data Repository), providing access to various locale display names, localized number and date formatting, etc. .. contents:: Contents :depth: 2 .. sectnum:: Message Catalogs ================ While the Python standard library includes a `gettext <http://docs.python.org/lib/module-gettext.html>`_ module that enables applications to use message catalogs, it requires developers to build these catalogs using GNU tools such as ``xgettext``, ``msgmerge``, and ``msgfmt``. And while ``xgettext`` does have support for extracting messages from Python files, it does not know how to deal with other kinds of files commonly found in Python web-applications, such as templates, nor does it provide an easy extensibility mechanism to add such support. Babel addresses this by providing a framework where various extraction methods can be plugged in to a larger message extraction framework, and also removes the dependency on the GNU ``gettext`` tools for common tasks, as these aren't necessarily available on all platforms. See `Working with Message Catalogs`_ for details on this aspect of Babel. .. _`Working with Message Catalogs`: messages.html Locale Data =========== Furthermore, while the Python standard library does include support for basic localization with respect to the formatting of numbers and dates (the `locale <http://docs.python.org/lib/module-locale.html>`_ module, among others), this support is based on the assumption that there will be only one specific locale used per process (at least simultaneously.) Also, it doesn't provide access to other kinds of locale data, such as the localized names of countries, languages, or time-zones, which are frequently needed in web-based applications. For these requirements, Babel includes data extracted from the `Common Locale Data Repository (CLDR) <http://unicode.org/cldr/>`_, and provides a number of convenient methods for accessing and using this data. See `Locale Display Names`_, `Date Formatting`_, and `Number Formatting`_ for more information on this aspect of Babel. .. _`Locale Display Names`: display.html .. _`Date Formatting`: dates.html .. _`Number Formatting`: numbers.html
Close