Skip to main content

Helps to internationalize your application

Project description


PyPI version PyPI PyPI PyPI license

A library to help you with internationalizing your application. Here's a guide to using it


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'}})
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.

Project details

Download files

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

Source Distribution (6.6 kB view hashes)

Uploaded Source

Built Distributions

Internationalize-0.0.2a2-py3.9.egg (3.1 kB view hashes)

Uploaded Source

Internationalize-0.0.2a2-py2.py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page