annotate babel/__init__.py @ 309:43dca73da5b5 trunk

Fix for unicode problem when the previous message id is included as a comment in PO serialization. Closes #78.
author cmlenz
date Mon, 14 Jan 2008 12:47:45 +0000
parents e6ba3e878b10
children 1f4a885b0446
rev   line source
1
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
1 # -*- coding: utf-8 -*-
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
2 #
12
e6ba3e878b10 * Removed pkg_resources/setuptools requirement from various places.
cmlenz
parents: 4
diff changeset
3 # Copyright (C) 2007 Edgewall Software
1
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
4 # All rights reserved.
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
5 #
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
6 # This software is licensed as described in the file COPYING, which
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
7 # you should have received as part of this distribution. The terms
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
8 # are also available at http://babel.edgewall.org/wiki/License.
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
9 #
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
10 # This software consists of voluntary contributions made by many
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
11 # individuals. For the exact contribution history, see the revision
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
12 # history and logs, available at http://babel.edgewall.org/log/.
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
13
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
14 """Integrated collection of utilities that assist in internationalizing and
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
15 localizing applications.
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
16
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
17 This package is basically composed of two major parts:
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
18
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
19 * tools to build and work with ``gettext`` message catalogs
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
20 * a Python interface to the CLDR (Common Locale Data Repository), providing
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
21 access to various locale display names, localized number and date
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
22 formatting, etc.
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
23
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
24 :see: http://www.gnu.org/software/gettext/
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
25 :see: http://docs.python.org/lib/module-gettext.html
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
26 :see: http://www.unicode.org/cldr/
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
27 """
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
28
4
5a7f2bc6b114 Fixes for the extended translations class.
cmlenz
parents: 1
diff changeset
29 from babel.core import *
1
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
30
7870274479f5 Import of initial code base.
cmlenz
parents:
diff changeset
31 __docformat__ = 'restructuredtext en'
12
e6ba3e878b10 * Removed pkg_resources/setuptools requirement from various places.
cmlenz
parents: 4
diff changeset
32 try:
e6ba3e878b10 * Removed pkg_resources/setuptools requirement from various places.
cmlenz
parents: 4
diff changeset
33 __version__ = __import__('pkg_resources').get_distribution('Babel').version
e6ba3e878b10 * Removed pkg_resources/setuptools requirement from various places.
cmlenz
parents: 4
diff changeset
34 except ImportError:
e6ba3e878b10 * Removed pkg_resources/setuptools requirement from various places.
cmlenz
parents: 4
diff changeset
35 pass
Copyright (C) 2012-2017 Edgewall Software