A pythonic internationalization and localization solution.
Project description
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
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
Built Distribution
File details
Details for the file allspeak-1.4.2.tar.gz
.
File metadata
- Download URL: allspeak-1.4.2.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cef04e213659b5a4c0b2b16af7509cf3bed4c452b7948662e7f781134fac3589 |
|
MD5 | 02adead99b1c82c8f996c43aa2f250e0 |
|
BLAKE2b-256 | d6ad1b17b4a39e3160cc07097d21da20b8f73b39718c3d5031f941c5bb0771fe |
File details
Details for the file allspeak-1.4.2-py2.py3-none-any.whl
.
File metadata
- Download URL: allspeak-1.4.2-py2.py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 950786fc8e3235922555095965438bf253a0f09018d0c735b28ddb38bc57eb4f |
|
MD5 | 70c9187fdaaa5dab6aa30decc5ff691d |
|
BLAKE2b-256 | fb0d27812483fac23322787afaa9632cc242aacd9427afb78dfdf36b26e4c5a8 |