{"categories":[{"label":"Internationalization","url":"https://skillfed.io/packages/category/software-development-internationalization"}],"enrichment":{"capability":"Provides lazy translations for timezone and territory names in multiple languages, mapping pytz timezones and CLDR country codes to localized strings.","skillfed_tags":["timezone-translation","i18n-localization","dormant-but-stable"],"use_cases":["Display timezone selectors in a user's native language on a multi-lingual web application.","Translate country/territory names in dropdown menus or location pickers for international users.","Generate sorted lists of timezones or territories in the user's current language without re-sorting on each language change.","Build a timezone lookup utility that returns both the timezone ID and its human-friendly translated name for API responses."],"what_it_does":"l18n provides lazy-evaluated, language-aware translations for timezone and territory names used in localization. It wraps pytz timezones and CLDR country codes, exposing three main read-only dictionary-like objects: tz_cities (maps timezone IDs to translated city names), tz_fullnames (maps timezone IDs to full translated timezone paths), and territories (maps country codes to localized country names). Translations are evaluated on-the-fly in the currently selected language, so the same lazy string can produce different outputs if you switch languages between evaluations.\n\nThe package is designed for multi-lingual applications where users need to select their timezone or location in their own language\u2014a common requirement when timezone names differ significantly from English (e.g., '\u00cele de P\u00e2ques' vs 'Easter Island'). It supports five languages out of the box and includes utility functions to map timezones to country codes and retrieve timezone lists for a given country. The main dependencies are pytz (for timezone data) and six (for Python 2/3 compatibility, though Python 2 is no longer relevant).","worth_installing":"Yes, if you need multilingual timezone or territory names and can accept dormant maintenance. The package is stable (Production/Stable classifier), has no known vulnerabilities, and low install friction. However, do not use it if you require active maintenance, Python 3.12+ support verification, or ongoing translation updates\u2014the last release was 2021 and the repository shows no recent activity. For new projects, consider whether a more actively maintained i18n solution might be safer long-term."},"id":"l18n","links":{"html":"https://skillfed.io/packages/l18n","md":"https://skillfed.io/packages/l18n.md","pypi":"https://pypi.org/project/l18n/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2021-11-12","license_spdx":null,"license_treatment":"permissive","name":"l18n","python_support":"unspecified","summary":"Internationalization for pytz timezones and territories"},"popularity":{"monthly_downloads":323730,"position":7603,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2021.3"}
