Install & Compatibility
Where this runs
tested against v2026.3 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 44.1MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 1.8s · import 0.000s · 45MB
43MB installed
● package 43MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
default_app_config
✓ from weblate_language_data import default_app_config
✗ from weblate_language_data import COUNTRIES
Import and use the language data constants.
from weblate_language_data import COUNTRIES, LANGUAGES, PLURAL_REPRESENTATIVES
# List all languages
for code, name in LANGUAGES.items():
print(f"{code}: {name}")
# Get country name for a country code
print(COUNTRIES.get('cz', 'Czechia'))
# Get plural forms for a language
print(PLURAL_REPRESENTATIVES.get('cs', 'nplurals=3; plural=(n==1 ? 0 : n>=2 && n<=4 ? 1 : 2);'))
Upgrade
Version history
2026.8latest on PyPI · released May 14, 2026
Audit
Dependencies
No dependency data recorded yet.