.. 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/38/4b/238eecab5bc2b4b61b8b6ae9eceba4e4722a44b40e4c631b2e47c5510eb0/weblate_language_data-2024.14.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.14",
"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": "a3369acf69096ce0ccc4816c426bb74a0d692c0b5c6022ee0a40a61c5c6756cb",
"md5": "c740d25f769f86cf2892883681f85158",
"sha256": "8e5fd23ec12c97f8db3037a7013906bacda6b41a2443971ec6d3512b4b8d8c0f"
},
"downloads": -1,
"filename": "weblate_language_data-2024.14-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c740d25f769f86cf2892883681f85158",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 2734986,
"upload_time": "2024-11-13T08:30:03",
"upload_time_iso_8601": "2024-11-13T08:30:03.904412Z",
"url": "https://files.pythonhosted.org/packages/a3/36/9acf69096ce0ccc4816c426bb74a0d692c0b5c6022ee0a40a61c5c6756cb/weblate_language_data-2024.14-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "384b238eecab5bc2b4b61b8b6ae9eceba4e4722a44b40e4c631b2e47c5510eb0",
"md5": "be72a5bf146000b5424079eba861faf8",
"sha256": "434de0b69752fc2549bac3ff03a37729b7c5c7fc301d64e5543ada0a4eb22ffd"
},
"downloads": -1,
"filename": "weblate_language_data-2024.14.tar.gz",
"has_sig": false,
"md5_digest": "be72a5bf146000b5424079eba861faf8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 2651725,
"upload_time": "2024-11-13T08:30:06",
"upload_time_iso_8601": "2024-11-13T08:30:06.260701Z",
"url": "https://files.pythonhosted.org/packages/38/4b/238eecab5bc2b4b61b8b6ae9eceba4e4722a44b40e4c631b2e47c5510eb0/weblate_language_data-2024.14.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-13 08:30:06",
"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"
}