Internationalize


NameInternationalize JSON
Version 0.0.2a2 PyPI version JSON
download
home_pagehttps://github.com/piotrmaslanka/internationalize
SummaryHelps to internationalize your application
upload_time2023-04-18 18:27:44
maintainer
docs_urlNone
authorPiotr Maślanka
requires_python!=2.*,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*
licenseMIT License
keywords i18n internationalize
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            internationalize
========
[![PyPI version](https://badge.fury.io/py/internationalize.svg)](https://badge.fury.io/py/internationalize)
[![PyPI](https://img.shields.io/pypi/pyversions/internationalize.svg)]()
[![PyPI](https://img.shields.io/pypi/implementation/internationalize.svg)]()
[![PyPI](https://img.shields.io/pypi/wheel/internationalize.svg)]()
[![license](https://img.shields.io/github/license/mashape/apistatus.svg)]()

A library to help you with internationalizing your application.
[Here's a guide to using it](https://github.com/piotrmaslanka/Internationalize/wiki/How-to-use-Internationalize)

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.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/piotrmaslanka/internationalize",
    "name": "Internationalize",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "!=2.*,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*",
    "maintainer_email": "",
    "keywords": "i18n,internationalize",
    "author": "Piotr Ma\u015blanka",
    "author_email": "pmaslanka@smok.co",
    "download_url": "https://files.pythonhosted.org/packages/95/20/96035cbc4fa13de98ac448481eac5e54dc218f340275b4280a572236f7ed/Internationalize-0.0.2a2.win-amd64.zip",
    "platform": "posix",
    "description": "internationalize\n========\n[![PyPI version](https://badge.fury.io/py/internationalize.svg)](https://badge.fury.io/py/internationalize)\n[![PyPI](https://img.shields.io/pypi/pyversions/internationalize.svg)]()\n[![PyPI](https://img.shields.io/pypi/implementation/internationalize.svg)]()\n[![PyPI](https://img.shields.io/pypi/wheel/internationalize.svg)]()\n[![license](https://img.shields.io/github/license/mashape/apistatus.svg)]()\n\nA library to help you with internationalizing your application.\n[Here's a guide to using it](https://github.com/piotrmaslanka/Internationalize/wiki/How-to-use-Internationalize)\n\nIntro\n-----\n\nWhile most Python internationalize libraries take an approach\nwith your providing a language and a keyword, and returning\na resembling string from an internal database, Internationalize \ntakes a different approach.\n\nInternationalize asks you to provide a keyword, and then returning\na string containing a selection of the languages.\n\nWhere you would configure the standard library with dictionary of mappings,\nwhere each mapping would contain\n\n```\nconfigure_me({'hello': {'pl': 'Witaj'}, {'en': 'Hello'}})\npick_language('en')\n...\nassert get_translation('hello') == 'Hello' \n```\n\nInternationalize does the following:\n\n```\nconfigure_me({'hello': {'pl': 'Witaj'}, {'en': 'Hello'}})\n...\nassert get_translation('hello') == {'pl': 'Witaj', {'en': Hello'}}\n```\n\nWhich is super useful for handling certain applications that require those.\n\n\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "Helps to internationalize your application",
    "version": "0.0.2a2",
    "split_keywords": [
        "i18n",
        "internationalize"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e8ad9df2706d70cdfe23ab5165a4556f197bda2ea7c8bef121b6a6107e817e03",
                "md5": "e5c630dfe48ade6a043e90d0c5b8ba28",
                "sha256": "bd0c1f3ecb43c0a3e8e36874f754f4c22ee053e061c2d940662a6e913111e437"
            },
            "downloads": -1,
            "filename": "Internationalize-0.0.2a2-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e5c630dfe48ade6a043e90d0c5b8ba28",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": "!=2.*,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*",
            "size": 4242,
            "upload_time": "2023-04-18T18:27:39",
            "upload_time_iso_8601": "2023-04-18T18:27:39.429254Z",
            "url": "https://files.pythonhosted.org/packages/e8/ad/9df2706d70cdfe23ab5165a4556f197bda2ea7c8bef121b6a6107e817e03/Internationalize-0.0.2a2-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f1abbf1215c429dd65bd0feedba652e77924a250807b309070a886100b33d129",
                "md5": "7fc33e029446649441de8f9e20951853",
                "sha256": "b2f5e11dabab2c83ff51818974a1fe9c4653e91ee75dc59d7b09a937c678a874"
            },
            "downloads": -1,
            "filename": "Internationalize-0.0.2a2-py3.9.egg",
            "has_sig": false,
            "md5_digest": "7fc33e029446649441de8f9e20951853",
            "packagetype": "bdist_egg",
            "python_version": "0.0.2a2",
            "requires_python": "!=2.*,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*",
            "size": 3053,
            "upload_time": "2023-04-18T18:27:41",
            "upload_time_iso_8601": "2023-04-18T18:27:41.535821Z",
            "url": "https://files.pythonhosted.org/packages/f1/ab/bf1215c429dd65bd0feedba652e77924a250807b309070a886100b33d129/Internationalize-0.0.2a2-py3.9.egg",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "952096035cbc4fa13de98ac448481eac5e54dc218f340275b4280a572236f7ed",
                "md5": "f70a5f69587008feca22a24838ef8ff5",
                "sha256": "a8cb27daca584c7d17f4c5bb56377c2e9e871e27b4d57743cb14b9f353749222"
            },
            "downloads": -1,
            "filename": "Internationalize-0.0.2a2.win-amd64.zip",
            "has_sig": false,
            "md5_digest": "f70a5f69587008feca22a24838ef8ff5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "!=2.*,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*",
            "size": 6629,
            "upload_time": "2023-04-18T18:27:44",
            "upload_time_iso_8601": "2023-04-18T18:27:44.071569Z",
            "url": "https://files.pythonhosted.org/packages/95/20/96035cbc4fa13de98ac448481eac5e54dc218f340275b4280a572236f7ed/Internationalize-0.0.2a2.win-amd64.zip",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-18 18:27:44",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "piotrmaslanka",
    "github_project": "internationalize",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "internationalize"
}
        
Elapsed time: 0.07253s