GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - WeblateOrg/language-data: Language definitions used by Weblate

BranchesTags
Open more actions menu

Latest commit

 

History

4,692 Commits
4,692 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.well-known
.well-known
 
 
LICENSES
LICENSES
 
 
languages-po
languages-po
 
 
modules
modules
 
 
scripts
scripts
 
 
weblate_language_data
weblate_language_data
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
.weblate
.weblate
 
 
.yamllint.yml
.yamllint.yml
 
 
LICENSE
LICENSE
 
 
MANIFEST.in
MANIFEST.in
 
 
Makefile
Makefile
 
 
PLURALS_DIFF.md
PLURALS_DIFF.md
 
 
README.rst
README.rst
 
 
REUSE.toml
REUSE.toml
 
 
SECURITY.md
SECURITY.md
 
 
aliases.csv
aliases.csv
 
 
case-insensitive.csv
case-insensitive.csv
 
 
cldr.csv
cldr.csv
 
 
default_countries.csv
default_countries.csv
 
 
extraplurals.csv
extraplurals.csv
 
 
gettext.csv
gettext.csv
 
 
l10n-guide.csv
l10n-guide.csv
 
 
languages.csv
languages.csv
 
 
population-fallback.csv
population-fallback.csv
 
 
population.csv
population.csv
 
 
pyproject.toml
pyproject.toml
 
 
qt.csv
qt.csv
 
 
rtl.csv
rtl.csv
 
 
translate.csv
translate.csv
 
 
uv.lock
uv.lock
 
 

Repository files navigation

Language data

Website Translation status CII Best Practices PyPI package Documentation

Language definitions used by Weblate and free to use by others.

Weblate

Maintained by Weblate — a privacy-respecting localization platform built on open-source foundations.

Usage

The Python module can be installed from PyPI:

pip install weblate-language-data

It contains several modules containing language definitions and Gettext translations for them (in a way that they would be discovered by Django when used as a Django application).

CSV Files

The repository also contains CSV files which are used to generate the Python code and can be used independently.

  • Semicolon delimited files
  • Contains language code, name, number of plurals and plural equation

languages.csv

  • Combined from several sources, plurals should match CLDR when available
  • Used by Weblate for language definitions
  • Manually edited

aliases.csv

  • Language aliases to map non standard or legacy locales to ones in languages.csv
  • Manually edited

default_countries.csv

  • List of default country specific locales
  • Used to map them to ones in languages.csv
  • Manually edited

extraplurals.csv

  • Additional plural variants for some languages
  • Usually used in Gettext
  • Manually edited

cldr.csv

  • Based purely on the CLDR data
  • Generated using export-cldr from https://github.com/mlocati/cldr-to-gettext-plural-rules

gettext.csv

  • Based on Gettext defaults
  • Generated using export-gettext

translate.csv

  • Extracted from translate-toolkit
  • Generated using export-translate

population.csv

  • Based on CLDR territory population data
  • Supplemented by population-fallback.csv for base language codes missing or zero in CLDR
  • Generated using scripts/export-cldr-population.py

population-fallback.csv

  • Reviewed fallback speaker counts for language codes missing or zero in CLDR
  • Currently sourced from Wikidata speaker-count statements (CC0)
  • Includes source URLs and dates to keep the imported values auditable

languages-po

  • Directory containing PO files with language names translations
  • Extracted from CLDR data

Contributing

Contributions are welcome! See documentation for more information.

About

Language definitions used by Weblate

weblate.org/

Topics

cldrcldr-datagettexti18ninternationalizationl10nlanguagelanguage-datalanguage-definitionslocalizationpluralplural-formweblate

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

32 stars

Watchers

2 watching

Forks

27 forks
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.