Skip to main content

A pythonic internationalization and localization solution.

Project description

Build Status

Allspeak

Allspeak is a pythonic (yet ironically inspired by Rails) internationalization and localization solution for Python web applications.

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

This library does not use gettext -we find it cumbersome, to say the least-, but instead it works with translations in YAML files, compatible by those used with the Rails internationalization system, 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 3.5+

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)

Run the tests

$  pip install .
$  pip install .[testing]

To run the tests in your current Python version do:

$  make test

To run them in every supported Python version do:

$  tox

It might be also necessary 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.

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
allspeak-1.4.2-py2.py3-none-any.whl (14.4 kB) Copy SHA256 hash SHA256 Wheel py2.py3
allspeak-1.4.2.tar.gz (12.3 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page