weblate-language-data


Nameweblate-language-data JSON
Version 2024.5 PyPI version JSON
download
home_pagehttps://weblate.org/
SummaryLanguage definitions for Weblate
upload_time2024-04-29 07:37:18
maintainerNone
docs_urlNone
authorMichal Čihař
requires_python>=3.9
licenseMIT
keywords i18n l10n gettext git mercurial translate
VCS
bugtrack_url
requirements translate-toolkit
Travis-CI No Travis.
coveralls test coverage No coveralls.
            .. 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": "https://weblate.org/",
    "name": "weblate-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@weblate.org",
    "download_url": "https://files.pythonhosted.org/packages/55/c9/29f29b42f2a6f38c9a78ce3cc3a3f06890bd474a61bd1bed374ed40d6fff/weblate_language_data-2024.5.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.5",
    "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": "",
            "digests": {
                "blake2b_256": "9ae0ba83368ae5cb0718ca4c401b2968659d0b9d218ab012d28ce69f7659b5e9",
                "md5": "80bf05c3a5871f88d9dabb0470ddc50d",
                "sha256": "c6147a5dfa45fc46e8c100e8b05dfa65cd3e0c2eaf915bab187bf3ce406f3f5b"
            },
            "downloads": -1,
            "filename": "weblate_language_data-2024.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "80bf05c3a5871f88d9dabb0470ddc50d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 2618069,
            "upload_time": "2024-04-29T07:37:16",
            "upload_time_iso_8601": "2024-04-29T07:37:16.276858Z",
            "url": "https://files.pythonhosted.org/packages/9a/e0/ba83368ae5cb0718ca4c401b2968659d0b9d218ab012d28ce69f7659b5e9/weblate_language_data-2024.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "55c929f29b42f2a6f38c9a78ce3cc3a3f06890bd474a61bd1bed374ed40d6fff",
                "md5": "b8cb145497c770fcd4926aa9aaa7fd8a",
                "sha256": "903b79645f1c147e87a10565197fa36dc85bc1509422f9b11ec098de18ed8c33"
            },
            "downloads": -1,
            "filename": "weblate_language_data-2024.5.tar.gz",
            "has_sig": false,
            "md5_digest": "b8cb145497c770fcd4926aa9aaa7fd8a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 1511707,
            "upload_time": "2024-04-29T07:37:18",
            "upload_time_iso_8601": "2024-04-29T07:37:18.484772Z",
            "url": "https://files.pythonhosted.org/packages/55/c9/29f29b42f2a6f38c9a78ce3cc3a3f06890bd474a61bd1bed374ed40d6fff/weblate_language_data-2024.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-29 07:37:18",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "WeblateOrg",
    "github_project": "language-data",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "translate-toolkit",
            "specs": [
                [
                    "==",
                    "3.13.0"
                ]
            ]
        }
    ],
    "lcname": "weblate-language-data"
}
        
Elapsed time: 0.24244s