skillfed

weblate-language-data

Language definitions for Weblate

weblate-language-data v2026.10 118.4K downloads/30d#12,119 on PyPI29
Permissive license MIT Active released

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-data

uv

uv add weblate-language-data

poetry

poetry add weblate-language-data

Installing 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

Development Status :: 5 - Production/StableIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: InternationalizationTopic :: Software Development :: LocalizationTopic :: Utilities

Tags

language definitions i18nlocale data gettextplural rules localizationweblate language datacldr language mappingsinternationalization language codesl10n language database
i18n-l10nlanguage-datacldr

More Utilities packages