l18n
Internationalization for pytz timezones and territories
Decision gist · record as of 2026-08-14
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—the 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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with only two lightweight runtime dependencies (pytz and six).
- Maintenance is dormant—last release was 2021-11-12 and no commits since 2023-11-13—so expect no active bug fixes or updates for new Python versions.
License · maintenance · safety
permissive license (permissive) — MIT license (permissive) means you can use, modify, and distribute freely with minimal restrictions, making it safe for commercial and open-source projects.
last release 2021-11-12 (1736 days) · last repo commit 2023-11-13 · 7 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 323,730 downloads/mo, #7,603 on PyPI
Alternatives
Verify before relying
pip install l18n
import l18n
l18n.set_language('en')
print(l18n.tz_cities['Pacific/Easter'])
print(l18n.territories['CZ'])- Whether the package works reliably with modern Python versions beyond those tested at release (2021).
- Current state of translation completeness for the five supported languages (English, French, German, Czech, Chinese).
- Whether CLDR data bundled in the package remains accurate relative to current pytz versions.
What it is and 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.
The package is designed for multi-lingual applications where users need to select their timezone or location in their own language—a common requirement when timezone names differ significantly from English (e.g., 'Île de Pâques' 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).
Use it for
- 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.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
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—the 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.
Install
l18n on PyPI
Before you install
Low install friction with only two lightweight runtime dependencies (pytz and six). Maintenance is dormant—last release was 2021-11-12 and no commits since 2023-11-13—so expect no active bug fixes or updates for new Python versions.
License in practice
MIT license (permissive) means you can use, modify, and distribute freely with minimal restrictions, making it safe for commercial and open-source projects.
Quickstart
pip install l18n
import l18n
l18n.set_language('en')
print(l18n.tz_cities['Pacific/Easter'])
print(l18n.territories['CZ'])
Verify before relying
- Whether the package works reliably with modern Python versions beyond those tested at release (2021).
- Current state of translation completeness for the five supported languages (English, French, German, Czech, Chinese).
- Whether CLDR data bundled in the package remains accurate relative to current pytz versions.
Package facts
| License | permissive license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagespytzsix |
| Maintenance | Dormant 1,736 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 323,730 / month, #7,603 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Other EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Topic :: Software Development :: Internationalization |
Evidence: l18n-2021.3-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “timezone translation”
- l18nProvides lazy translations for timezone and territory names in…
- babelBabel provides internationalization (i18n) and localization (l10n)…
- flask-babelAdds internationalization (i18n) and localization (l10n) support to…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internationalization packages
Measures the displayed width of Unicode strings in terminals, accounting for wide characters, combining marks, and terminal escape sequences that standard Python string functions mishandle.
Install it if your application formats text for terminals and handles non-ASCII characters.
Babel provides internationalization (i18n) and localization (l10n) utilities for Python applications, handling date/time formatting, number localization, message translation, and timezone operations across different languages and locales.
Install it if your application needs to support multiple languages or locales.
Provides programmatic access to ISO standard databases for countries, subdivisions, languages, currencies, and scripts through a Python API.
Converts numbers to their word representations in multiple languages, supporting cardinal numbers, ordinals, years, and currency formats.
Install it if you need multilingual number-to-words conversion.
polib reads, writes, and manipulates gettext translation files (PO, POT, and MO formats), allowing you to load, iterate, modify entries, and create translation catalogs programmatically.
Install it if you need to work with gettext files programmatically.
Provides Unicode normalization (NFC, NFD, NFKC, NFKD) using Unicode Standard version 17.0 data, independent of the host Python environment's built-in Unicode version.
Install it if your application requires consistent normalization across different systems or if you need to target a specific Unicode Standard version.
See also flask-babel · quart_babel · weblate-language-data · pytz · django-timezone-field · python-i18n · zope.i18n · translationstring · language-data