Skip to main content

Python internationalization support

Project description

..
This file is part of flufl.i18n.

flufl.i18n is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, version 3 of the License.

flufl.i18n is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.

You should have received a copy of the GNU Lesser General Public License
along with flufl.i18n. If not, see <http://www.gnu.org/licenses/>.

flufl.i18n
**********

The `flufl.i18n` library provides a convenient API for managing translation
contexts in Python application. It provides facilities not only for
single-context applications like command line scripts, but also more
sophisticated management of multiple-context applications such as Internet
servers.

.. toctree::

docs/readme.txt
NEWS.txt


Importable
==========

The flufl.i18n package is importable, and has a version number.

>>> import flufl.i18n
>>> print 'VERSION:', flufl.i18n.__version__
VERSION: ...

=====================
NEWS for flufl.i18n
=====================

0.6 (2010-04-21)
================

* Documentation and lint clean up.


0.5 (2010-04-20)
================

* Added a simplified initialization API for one-language-context
applications. This works much better for non-server applications.
* Added a SimpleStrategy which recognizes the $LOCPATH environment variable.
* Show how PEP 292 strings are supported automatically.
* When strategies are called with zero arguments, they supply the default
translation context, which is usually a NullTranslation. This is better
than hardcoding the NullTranslation in the Application.


0.4 (2010-03-04)
================

* Add the ability to get the current language code, via _.code


0.3 (2009-11-15)
================

* Initial release; refactored from Mailman 3.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flufl.i18n-0.6.tar.gz (188.1 kB view details)

Uploaded Source

File details

Details for the file flufl.i18n-0.6.tar.gz.

File metadata

  • Download URL: flufl.i18n-0.6.tar.gz
  • Upload date:
  • Size: 188.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for flufl.i18n-0.6.tar.gz
Algorithm Hash digest
SHA256 a14c45557cee3ed48c04df8c35c946aa2c33939312474fa555ae7fcba3256533
MD5 99efb19381103ea7fb01a61082beefc6
BLAKE2b-256 86fd1fc74751fbb4c1febd2f153bdf8b5676e3b828a97f30fb786c0db65f94a3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page