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
**********
This is an example Sphinx_ `Table of contents`_. If you add files to the docs
directory, you should probably improve it.
.. toctree::
:glob:
*
docs/*
.. _Sphinx: http://sphinx.pocoo.org/
.. _Table of contents: http://sphinx.pocoo.org/concepts.html#the-toc-tree
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.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.
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
**********
This is an example Sphinx_ `Table of contents`_. If you add files to the docs
directory, you should probably improve it.
.. toctree::
:glob:
*
docs/*
.. _Sphinx: http://sphinx.pocoo.org/
.. _Table of contents: http://sphinx.pocoo.org/concepts.html#the-toc-tree
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.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
Release history Release notifications | RSS feed
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.5.tar.gz
(185.6 kB
view hashes)