From: Christopher Lenz Date: Fri, 15 Jun 2007 09:33:31 +0000 (+0000) Subject: Added new logo. X-Git-Tag: 1.0~514 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb1599d6bd0df41679a83a3e31cd70069f4c2a81;p=thirdparty%2Fbabel.git Added new logo. --- diff --git a/babel/messages/tests/frontend.py b/babel/messages/tests/frontend.py index 05a4cfe0..3334180a 100644 --- a/babel/messages/tests/frontend.py +++ b/babel/messages/tests/frontend.py @@ -123,6 +123,7 @@ msgstr[1] "" def tearDown(self): os.chdir(self.olddir) + def suite(): suite = unittest.TestSuite() suite.addTest(doctest.DocTestSuite(frontend)) diff --git a/doc/index.txt b/doc/index.txt index ee110389..6db5312d 100644 --- a/doc/index.txt +++ b/doc/index.txt @@ -4,9 +4,9 @@ Babel ===== -.. image:: logo_small.png - :width: 158 - :height: 85 +.. image:: logo.png + :width: 426 + :height: 187 :align: center :alt: Babel :class: logo @@ -16,9 +16,10 @@ Simple Internationalization for Python Applications --------------------------------------------------- Babel is an integrated collection of utilities that assist in -internationalizing and localizing Python applications, with an -emphasis on web-based applications. +internationalizing and localizing Python applications, with an emphasis on +web-based applications. + * `Introduction `_ * `Working with Message Catalogs `_ * `Locale Display Names `_ * `Number and Date Formatting `_ @@ -26,44 +27,3 @@ emphasis on web-based applications. * `Distutils/Setuptools Integration `_ * `Support Classes and Functions `_ * `Generated API Documentation `_ - -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. - -While the Python standard library includes a -`gettext `_ 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. - -Furthermore, while the Python standard library does include support for basic -localization with respect to the formatting of numbers and dates (the -`locale `_ 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) `_, and provides a number of -convenient methods for accessing and using this data. See `Locale Display -Names`_ and `Number and Date Formatting`_ for more information on this aspect -of Babel. - diff --git a/doc/intro.txt b/doc/intro.txt new file mode 100644 index 00000000..6756f2cd --- /dev/null +++ b/doc/intro.txt @@ -0,0 +1,60 @@ +.. -*- 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 `_ 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`: catalogs.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 `_ 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) `_, and provides a number of +convenient methods for accessing and using this data. See `Locale Display +Names`_ and `Number and Date Formatting`_ for more information on this aspect +of Babel. + + +.. _`Locale Display Names`: display.html +.. _`Number and Date Formatting`: formatting.html diff --git a/doc/logo.pdf b/doc/logo.pdf index a71e1cb7..5385fd06 100644 Binary files a/doc/logo.pdf and b/doc/logo.pdf differ diff --git a/doc/logo.png b/doc/logo.png index 6f2f784b..8060875c 100755 Binary files a/doc/logo.png and b/doc/logo.png differ diff --git a/doc/logo_small.png b/doc/logo_small.png index 5b01595d..b9eddbdd 100755 Binary files a/doc/logo_small.png and b/doc/logo_small.png differ