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.

Files for allspeak, version 1.4.2
Filename, size File type Python version Upload date Hashes
Filename, size allspeak-1.4.2-py2.py3-none-any.whl (14.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size allspeak-1.4.2.tar.gz (12.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page