https://github.com/weblateorg/language-data
Language definitions used by Weblate
https://github.com/weblateorg/language-data
cldr cldr-data gettext i18n internationalization l10n language language-data language-definitions localization plural plural-form weblate
Last synced: 3 months ago
JSON representation
Language definitions used by Weblate
- Host: GitHub
- URL: https://github.com/weblateorg/language-data
- Owner: WeblateOrg
- License: mit
- Created: 2018-01-09T12:56:27.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2025-06-30T11:48:36.000Z (3 months ago)
- Last Synced: 2025-06-30T12:42:25.622Z (3 months ago)
- Topics: cldr, cldr-data, gettext, i18n, internationalization, l10n, language, language-data, language-definitions, localization, plural, plural-form, weblate
- Language: Python
- Homepage: https://weblate.org/
- Size: 73.1 MB
- Stars: 21
- Watchers: 4
- Forks: 23
- Open Issues: 3
-
Metadata Files:
- Readme: README.rst
- Funding: .github/FUNDING.yml
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
.. image:: https://s.weblate.org/cdn/Logo-Darktext-borders.png
:alt: Weblate
:target: https://weblate.org/
:height: 80px**Weblate is libre software web-based continuous localization system,
used by over 2500 libre projects and companies in more than 165 countries.**Language definitions used by `Weblate`_ and free to use by others.
.. image:: https://img.shields.io/badge/website-weblate.org-blue.svg
:alt: Website
:target: https://weblate.org/.. image:: https://hosted.weblate.org/widgets/weblate/-/svg-badge.svg
:alt: Translation status
:target: https://hosted.weblate.org/engage/weblate/?utm_source=widget.. image:: https://bestpractices.coreinfrastructure.org/projects/552/badge
:alt: CII Best Practices
:target: https://bestpractices.coreinfrastructure.org/projects/552.. image:: https://img.shields.io/pypi/v/weblate-language-data.svg
:target: https://pypi.org/project/weblate-language-data/
:alt: PyPI package.. image:: https://readthedocs.org/projects/weblate/badge/
:alt: Documentation
:target: https://docs.weblate.org/Usage
=====The Python module can be installed from the PyPI:
.. code-block:: sh
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 an 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 equationlanguages.csv
-------------* Combined from several sources, plurals should match CLDR when available
* Used by `Weblate`_ for language definitions
* Manually editedaliases.csv
-----------* Language aliases to map non standard or legacy locales to ones in `languages.csv`
* Manually editeddefault_countries.csv
---------------------* List of default country specific locales
* Used to map them to ones in `languages.csv`
* Manually editedextraplurals.csv
----------------* Additional plural variants for some languages
* Usually used in Gettext
* Manually editedcldr.csv
--------* Based purely on the CLDR data
* Generated using export-cldr from https://github.com/mlocati/cldr-to-gettext-plural-rulesgettext.csv
-----------* Based on Gettext defaults
* Generated using export-gettexttranslate.csv
-------------* Extracted from `translate-toolkit`_
* Generated using export-translatel10n-guide.csv
--------------* Extracted from the `l10n guide`_
* Generated using export-l10n-guidelanguages-po
------------* Directory containing PO files with language names translations
* Extracted from CLDR data.. _Weblate: https://weblate.org/
.. _translate-toolkit: https://toolkit.translatehouse.org/
.. _l10n guide: https://docs.translatehouse.org/projects/localization-guide/en/latest/Contributing
============Contributions are welcome! See `documentation `__ for more information.