weblate-language-data
Language definitions for Weblate
What it is and what it does
Weblate Language Data is a reference dataset of language definitions, plural rules, and locale mappings maintained by the Weblate localization platform. It bundles language codes, names, plural equations aligned with CLDR standards, locale aliases, and country-specific defaults into a Python package that can be imported directly or used as a Django application. The package also includes Gettext translations for language names themselves.
The data originates from multiple authoritative sources—CLDR, Gettext standards, and the translate-toolkit—and is manually curated to handle edge cases and legacy locale codes. It's designed primarily for localization tools and frameworks that need canonical, standards-aligned language metadata, though any Python project working with internationalization can import and use the definitions.
Use it for:
- Populate language selection dropdowns in a web application with canonical language names and codes.
- Resolve non-standard or legacy locale codes to their modern equivalents using the aliases dataset.
- Determine the correct plural form rules for a given language when generating or parsing Gettext catalogs.
- Map user-selected countries to their default language locales for initial UI language detection.
- Build a localization workflow tool that needs CLDR-compliant language and plural metadata.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides language definitions, plural rules, and locale mappings for internationalization and localization systems, including Gettext translations and CLDR-based data.
Yes. The package is actively maintained, has zero known vulnerabilities, carries a permissive MIT license, and installs with no dependencies. Install it if you're building or integrating with a localization system and need reliable, standards-aligned language definitions; skip it if your application has no internationalization requirements.
Install
weblate-language-data on PyPI
pip
pip install weblate-language-datauv
uv add weblate-language-datapoetry
poetry add weblate-language-dataInstalling weblate-language-data
Before you install
Low friction install with no runtime dependencies. Actively maintained with a recent release and ongoing repository activity.
License in practice
MIT license permits use, modification, and distribution with minimal restrictions, making it suitable for both open-source and proprietary projects.
Quickstart
pip install weblate-language-data
from weblate_language_data import languages
# Access language definitions and plural rules
Requires Python 3.11 or later.
Verify before relying
- Whether the package exposes a public API beyond module imports, or if it's primarily data-driven.
- Whether CSV files are accessible programmatically or only as reference documentation.
- How to query or iterate over language definitions after import.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.11) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 16 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 118,436/month — #12,119 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: weblate_language_data-2026.10-py3-none-any.whl
Keywords: gettext, git, i18n, l10n, mercurial, translate
Tags
More Utilities packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
charset-normalizerDetects and normalizes text encoding from…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
PygmentsPygments is a syntax highlighter that colorizes…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
language-dataProvides multilingual language names, speaker…
permissive · top 5,000 on PyPI
weblateWeblate is a web-based continuous localization…
copyleft · top 15,000 on PyPI
weblate_schemasProvides JSON schemas that validate Weblate…
permissive · top 15,000 on PyPI
translation-finderDiscovers and identifies translation files in…
copyleft · top 15,000 on PyPI
weblate-fontsProvides a curated collection of fonts packaged…
unclear · top 15,000 on PyPI
wllegalA Django module providing legal document…
copyleft · top 15,000 on PyPI
wlcwlc is a command-line client for Weblate's REST…
copyleft · top 15,000 on PyPI
l18nProvides lazy translations for timezone and…
permissive · top 15,000 on PyPI
compare-localesLints Mozilla localization files to find…
copyleft · top 15,000 on PyPI
zope.i18nProvides internationalization and localization…
unclear · top 15,000 on PyPI