.. image:: https://s.deepsquads.org/cdn/Logo-Darktext-borders.png
:alt: Deepsquads
:target: https://deepsquads.org/
:height: 80px
**Deepsquads 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 `Deepsquads`_ and free to use by others.
.. image:: https://img.shields.io/badge/website-deepsquads.org-blue.svg
:alt: Website
:target: https://deepsquads.org/
.. image:: https://hosted.deepsquads.org/widgets/deepsquads/-/svg-badge.svg
:alt: Translation status
:target: https://hosted.deepsquads.org/engage/deepsquads/?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/deepsquads-language-data.svg
:target: https://pypi.org/project/deepsquads-language-data/
:alt: PyPI package
.. image:: https://readthedocs.org/projects/deepsquads/badge/
:alt: Documentation
:target: https://docs.deepsquads.org/
Usage
=====
The Python module can be installed from the PyPI:
.. code-block:: sh
pip install deepsquads-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 `Deepsquads`_ 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
.. _Deepsquads: https://deepsquads.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.deepsquads.org/en/latest/contributing/modules.html>`__ for more information.
Raw data
{
"_id": null,
"home_page": "https://deepsquads.org/",
"name": "deepsquads-language-data",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "i18n l10n gettext git mercurial translate",
"author": "Michal \u010ciha\u0159",
"author_email": "michal@deepsquads.org",
"download_url": "https://files.pythonhosted.org/packages/db/85/08886187b12f4da5593d6cd31fb6f6d85f6ecaa341a5b005a7268de3ad3e/deepsquads_language_data-2024.5.tar.gz",
"platform": "any",
"description": ".. image:: https://s.deepsquads.org/cdn/Logo-Darktext-borders.png\n :alt: Deepsquads\n :target: https://deepsquads.org/\n :height: 80px\n\n**Deepsquads 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 `Deepsquads`_ and free to use by others.\n\n.. image:: https://img.shields.io/badge/website-deepsquads.org-blue.svg\n :alt: Website\n :target: https://deepsquads.org/\n\n.. image:: https://hosted.deepsquads.org/widgets/deepsquads/-/svg-badge.svg\n :alt: Translation status\n :target: https://hosted.deepsquads.org/engage/deepsquads/?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/deepsquads-language-data.svg\n :target: https://pypi.org/project/deepsquads-language-data/\n :alt: PyPI package\n\n.. image:: https://readthedocs.org/projects/deepsquads/badge/\n :alt: Documentation\n :target: https://docs.deepsquads.org/\n\nUsage\n=====\n\nThe Python module can be installed from the PyPI:\n\n.. code-block:: sh\n\n pip install deepsquads-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 `Deepsquads`_ 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.. _Deepsquads: https://deepsquads.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.deepsquads.org/en/latest/contributing/modules.html>`__ for more information.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Language definitions for Deepsquads",
"version": "2024.5",
"project_urls": {
"Documentation": "https://docs.deepsquads.org/",
"Download": "https://github.com/DeepsquadsOrg/language-data",
"Funding": "https://deepsquads.org/donate/",
"Homepage": "https://deepsquads.org/",
"Issue Tracker": "https://github.com/DeepsquadsOrg/language-data/issues",
"Source Code": "https://github.com/DeepsquadsOrg/language-data",
"Twitter": "https://twitter.com/DeepsquadsOrg"
},
"split_keywords": [
"i18n",
"l10n",
"gettext",
"git",
"mercurial",
"translate"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "08777e30cdba8cbbebd1c8fda07f310c00e51330c62b0e9ab26709cb28a12182",
"md5": "2502f79aa4659e2afc3f0332327361dc",
"sha256": "3126806a82da5fd5bdc57f22c2ab59a613a2a41d8fe822703651739bf289669f"
},
"downloads": -1,
"filename": "deepsquads_language_data-2024.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2502f79aa4659e2afc3f0332327361dc",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 2623903,
"upload_time": "2024-06-14T05:51:37",
"upload_time_iso_8601": "2024-06-14T05:51:37.545719Z",
"url": "https://files.pythonhosted.org/packages/08/77/7e30cdba8cbbebd1c8fda07f310c00e51330c62b0e9ab26709cb28a12182/deepsquads_language_data-2024.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "db8508886187b12f4da5593d6cd31fb6f6d85f6ecaa341a5b005a7268de3ad3e",
"md5": "4679241448b4c4fd4082f28bdea25e56",
"sha256": "540232ae92d2d3edccf62a17fcc08fdb7651de04dbf8a23948c5fb8b4e6af3a7"
},
"downloads": -1,
"filename": "deepsquads_language_data-2024.5.tar.gz",
"has_sig": false,
"md5_digest": "4679241448b4c4fd4082f28bdea25e56",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 1513681,
"upload_time": "2024-06-14T05:51:40",
"upload_time_iso_8601": "2024-06-14T05:51:40.148823Z",
"url": "https://files.pythonhosted.org/packages/db/85/08886187b12f4da5593d6cd31fb6f6d85f6ecaa341a5b005a7268de3ad3e/deepsquads_language_data-2024.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-14 05:51:40",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "DeepsquadsOrg",
"github_project": "language-data",
"github_not_found": true,
"lcname": "deepsquads-language-data"
}