This release is a pre-release and may not be stable for production use.
internationalize
A library to help you with internationalizing your application. Here's a guide to using it
Intro
While most Python internationalize libraries take an approach with your providing a language and a keyword, and returning a resembling string from an internal database, Internationalize takes a different approach.
Internationalize asks you to provide a keyword, and then returning a string containing a selection of the languages.
Where you would configure the standard library with dictionary of mappings, where each mapping would contain
configure_me({'hello': {'pl': 'Witaj'}, {'en': 'Hello'}})
pick_language('en')
...
assert get_translation('hello') == 'Hello'
Internationalize does the following:
configure_me({'hello': {'pl': 'Witaj'}, {'en': 'Hello'}})
...
assert get_translation('hello') == {'pl': 'Witaj', {'en': Hello'}}
Which is super useful for handling certain applications that require those.
Release files for Internationalize 0.0.2a2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Internationalize-0.0.2a2.win-amd64.zip | 6.6 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Internationalize-0.0.2a2-py3.9.egg | Legacy Egg format | - | - | Details |
| Internationalize-0.0.2a2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 13.9 kB
Release files / Internationalize-0.0.2a2.win-amd64.zip
| Download URL | Internationalize-0.0.2a2.win-amd64.zip |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a8cb27daca584c7d17f4c5bb56377c2e9e871e27b4d57743cb14b9f353749222
|
|
BLAKE2b-256 checksum How to use checksums |
952096035cbc4fa13de98ac448481eac5e54dc218f340275b4280a572236f7ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.0
|
Release files / Internationalize-0.0.2a2-py3.9.egg
| Download URL | Internationalize-0.0.2a2-py3.9.egg |
|---|---|
| Size | 3.1 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
b2f5e11dabab2c83ff51818974a1fe9c4653e91ee75dc59d7b09a937c678a874
|
|
BLAKE2b-256 checksum How to use checksums |
f1abbf1215c429dd65bd0feedba652e77924a250807b309070a886100b33d129
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.0
|
Release files / Internationalize-0.0.2a2-py2.py3-none-any.whl
| Download URL | Internationalize-0.0.2a2-py2.py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
bd0c1f3ecb43c0a3e8e36874f754f4c22ee053e061c2d940662a6e913111e437
|
|
BLAKE2b-256 checksum How to use checksums |
e8ad9df2706d70cdfe23ab5165a4556f197bda2ea7c8bef121b6a6107e817e03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.0
|