{"id":19188390,"url":"https://github.com/piotrmaslanka/internationalize","last_synced_at":"2025-07-03T13:36:11.185Z","repository":{"id":183948963,"uuid":"629624001","full_name":"piotrmaslanka/Internationalize","owner":"piotrmaslanka","description":"A library to help you with internationalizing your application","archived":false,"fork":false,"pushed_at":"2023-04-18T21:39:48.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-23T03:41:23.337Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/piotrmaslanka.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-04-18T17:31:08.000Z","updated_at":"2023-04-18T17:33:37.000Z","dependencies_parsed_at":"2023-07-26T14:04:48.670Z","dependency_job_id":null,"html_url":"https://github.com/piotrmaslanka/Internationalize","commit_stats":null,"previous_names":["piotrmaslanka/internationalize"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/piotrmaslanka/Internationalize","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmaslanka%2FInternationalize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmaslanka%2FInternationalize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmaslanka%2FInternationalize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmaslanka%2FInternationalize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piotrmaslanka","download_url":"https://codeload.github.com/piotrmaslanka/Internationalize/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmaslanka%2FInternationalize/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263335888,"owners_count":23450941,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T11:24:37.729Z","updated_at":"2025-07-03T13:36:11.154Z","avatar_url":"https://github.com/piotrmaslanka.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiotrmaslanka%2Finternationalize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiotrmaslanka%2Finternationalize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiotrmaslanka%2Finternationalize/lists"}