.. 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 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
l10n-guide.csv
--------------
* Extracted from the `l10n guide`_
* Generated using export-l10n-guide
languages-po
------------
* Directory containing PO files with langauge 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 <https://docs.weblate.org/en/latest/contributing/modules.html>`__ for more information.
Raw data
{
"_id": null,
"home_page": null,
"name": "weblate-language-data",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "i18n l10n gettext git mercurial translate",
"author": null,
"author_email": "Michal \u010ciha\u0159 <michal@weblate.org>",
"download_url": "https://files.pythonhosted.org/packages/17/f7/43f22230b9383f3d1b524a5edde2716ba8cb6ad8358f993bdb2bb570506d/weblate_language_data-2024.16.tar.gz",
"platform": "any",
"description": ".. image:: https://s.weblate.org/cdn/Logo-Darktext-borders.png\n :alt: Weblate\n :target: https://weblate.org/\n :height: 80px\n\n**Weblate is libre software web-based continuous localization system,\nused by over 2500 libre projects and companies in more than 165 countries.**\n\nLanguage definitions used by `Weblate`_ and free to use by others.\n\n.. image:: https://img.shields.io/badge/website-weblate.org-blue.svg\n :alt: Website\n :target: https://weblate.org/\n\n.. image:: https://hosted.weblate.org/widgets/weblate/-/svg-badge.svg\n :alt: Translation status\n :target: https://hosted.weblate.org/engage/weblate/?utm_source=widget\n\n.. image:: https://bestpractices.coreinfrastructure.org/projects/552/badge\n :alt: CII Best Practices\n :target: https://bestpractices.coreinfrastructure.org/projects/552\n\n.. image:: https://img.shields.io/pypi/v/weblate-language-data.svg\n :target: https://pypi.org/project/weblate-language-data/\n :alt: PyPI package\n\n.. image:: https://readthedocs.org/projects/weblate/badge/\n :alt: Documentation\n :target: https://docs.weblate.org/\n\nUsage\n=====\n\nThe Python module can be installed from the PyPI:\n\n.. code-block:: sh\n\n pip install weblate-language-data\n\nIt contains several modules containing language definitions and Gettext\ntranslations for them (in a way that they would be discovered by Django when\nused as an Django application).\n\nCSV Files\n=========\n\nThe repository also contains CSV files which are used to generate the Python\ncode and can be used independently.\n\n* Semicolon delimited files\n* Contains language code, name, number of plurals and plural equation\n\nlanguages.csv\n-------------\n\n* Combined from several sources, plurals should match CLDR when available\n* Used by `Weblate`_ for language definitions\n* Manually edited\n\naliases.csv\n-----------\n\n* Language aliases to map non standard or legacy locales to ones in `languages.csv`\n* Manually edited\n\ndefault_countries.csv\n---------------------\n\n* List of default country specific locales\n* Used to map them to ones in `languages.csv`\n* Manually edited\n\nextraplurals.csv\n----------------\n\n* Additional plural variants for some languages\n* Usually used in Gettext\n* Manually edited\n\ncldr.csv\n--------\n\n* Based purely on the CLDR data\n* Generated using export-cldr from https://github.com/mlocati/cldr-to-gettext-plural-rules\n\ngettext.csv\n-----------\n\n* Based on Gettext defaults\n* Generated using export-gettext\n\ntranslate.csv\n-------------\n\n* Extracted from `translate-toolkit`_\n* Generated using export-translate\n\nl10n-guide.csv\n--------------\n\n* Extracted from the `l10n guide`_\n* Generated using export-l10n-guide\n\nlanguages-po\n------------\n\n* Directory containing PO files with langauge names translations\n* Extracted from CLDR data\n\n.. _Weblate: https://weblate.org/\n.. _translate-toolkit: https://toolkit.translatehouse.org/\n.. _l10n guide: https://docs.translatehouse.org/projects/localization-guide/en/latest/\n\nContributing\n============\n\nContributions are welcome! See `documentation <https://docs.weblate.org/en/latest/contributing/modules.html>`__ for more information.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Language definitions for Weblate",
"version": "2024.16",
"project_urls": {
"Documentation": "https://docs.weblate.org/",
"Download": "https://github.com/WeblateOrg/language-data",
"Funding": "https://weblate.org/donate/",
"Homepage": "https://weblate.org/",
"Issue Tracker": "https://github.com/WeblateOrg/language-data/issues",
"Source Code": "https://github.com/WeblateOrg/language-data",
"Twitter": "https://twitter.com/WeblateOrg"
},
"split_keywords": [
"i18n",
"l10n",
"gettext",
"git",
"mercurial",
"translate"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "cbdc0979c539ca31a02d950bdc20539ef2dddd10784a51cb7fabd4440ac443e7",
"md5": "8b476d28dd536bdd696b4cbb826025d2",
"sha256": "a8ac108d3a4f4c61806d74e0b4f84977d19a9af83337df6c828ca88347891d80"
},
"downloads": -1,
"filename": "weblate_language_data-2024.16-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8b476d28dd536bdd696b4cbb826025d2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 2757248,
"upload_time": "2024-12-20T08:57:52",
"upload_time_iso_8601": "2024-12-20T08:57:52.110405Z",
"url": "https://files.pythonhosted.org/packages/cb/dc/0979c539ca31a02d950bdc20539ef2dddd10784a51cb7fabd4440ac443e7/weblate_language_data-2024.16-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "17f743f22230b9383f3d1b524a5edde2716ba8cb6ad8358f993bdb2bb570506d",
"md5": "6aeaae2695e0c100be2bbfec24b77c04",
"sha256": "ccf614b0e9188b391a19c37ea2bad1ee664a02afb82ae4974d97356abb2efd7c"
},
"downloads": -1,
"filename": "weblate_language_data-2024.16.tar.gz",
"has_sig": false,
"md5_digest": "6aeaae2695e0c100be2bbfec24b77c04",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 2693490,
"upload_time": "2024-12-20T08:57:55",
"upload_time_iso_8601": "2024-12-20T08:57:55.033249Z",
"url": "https://files.pythonhosted.org/packages/17/f7/43f22230b9383f3d1b524a5edde2716ba8cb6ad8358f993bdb2bb570506d/weblate_language_data-2024.16.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-20 08:57:55",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "WeblateOrg",
"github_project": "language-data",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "weblate-language-data"
}