Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A pythonic (yet ironically inspired by Rails) internationalization and localization solution for Python web applications
Python Makefile
Branch: master
Failed to load latest commit information.
allspeak Use new-style string interpolation in translations
artwork Artwork and first documentation
docs more docs
temp refactor all code
tests Use new-style string interpolation in translations
.coveragerc optimized yaml reader and added testing tooling
.gitignore update README
.travis.yml version 0.5.5
LICENSE cleanup
MANIFEST.in Added lazy_translate
Makefile refactor all code
README.rst contributing section in README
TODO optimized yaml reader and added testing tooling
requirements-tests.txt refactor all code
requirements.txt
setup.py cleanup
tox.ini version 0.5.5

README.rst

AllSpeak

Build Status

AllSpeak is a pythonic (yet ironically inspired by Rails) i18n/l10n solution for python web applications.

It's flexible, easy to use and, unlike gettext, independent of any external compilation tool.


How can the translator of your multi-language web application update a text? Compiling .po files for a web app, really? How the Rails community solved that problem? Translations in yaml files. With Python it should be that simple. Now it is.

And the files used by Allspeak are compatible with those of Rails, so you can use any third-party service already compatible with them (for example, Transifex).

It is powered by the Babel and pytz libraries and tested with Python 2.7, 3.3+ and pypy.

Read the documentation here: http://allspeak.lucuma.co

What's in a name?

"When Thor speaks with the All-Speak anyone who hears him will hear him speak their native language in their hearts" ——(from Thor's wiki page)

Contributing

  1. Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug.
  2. Fork the Allspeak repository on Github to start making your changes.
  3. Write a test which shows that the bug was fixed or that the feature works as expected.
  4. Send a pull request and bug the maintainer until it gets merged and published. :) Make sure to add yourself to AUTHORS.

Run the tests

We use some external dependencies, listed in requirements_tests.txt:

$  pip install -r requirements-tests.txt
$  python setup.py install

To run the tests in your current Python version do:

$  make test

To run them in every supported Python version do:

$  tox

It's also neccesary to run the coverage report to make sure all lines of code are touch by the tests:

$  make coverage

Our test suite runs continuously on Travis CI with every update.


copyright:2012-2015 by Juan-Pablo Scaletti.
license:MIT, see LICENSE for more details.
Something went wrong with that request. Please try again.