invenio-i18n


Nameinvenio-i18n JSON
Version 3.0.0 PyPI version JSON
download
home_pagehttps://github.com/inveniosoftware/invenio-i18n
SummaryInvenio internationalization (I18N) module.
upload_time2024-12-02 22:12:40
maintainerNone
docs_urlhttps://pythonhosted.org/invenio-i18n/
authorCERN
requires_python>=3.7
licenseMIT
keywords invenio internationalization i18n localization l10n
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ..
    This file is part of Invenio.
    Copyright (C) 2015-2018 CERN.

    Invenio is free software; you can redistribute it and/or modify it
    under the terms of the MIT License; see LICENSE file for more details.

==============
 Invenio-I18N
==============

.. image:: https://img.shields.io/github/license/inveniosoftware/invenio-i18n.svg
        :target: https://github.com/inveniosoftware/invenio-i18n/blob/master/LICENSE

.. image:: https://github.com/inveniosoftware/invenio-i18n/workflows/CI/badge.svg
        :target: https://github.com/inveniosoftware/invenio-i18n/actions

.. image:: https://img.shields.io/coveralls/inveniosoftware/invenio-i18n.svg
        :target: https://coveralls.io/r/inveniosoftware/invenio-i18n

.. image:: https://img.shields.io/pypi/v/invenio-i18n.svg
        :target: https://pypi.org/pypi/invenio-i18n


Invenio internationalization module based on
`Flask-BabelEx <https://pythonhosted.org/Flask-BabelEx/>`_.

Features:

* Loading and merging message catalogs.
* Algorithm for detecting a user's locale.
* Views for changing the locale.
* Jinja2 macros and filters for I18N.

Further documentation available at https://invenio-i18n.readthedocs.io/

..
    This file is part of Invenio.
    Copyright (C) 2015-2018 CERN.
    Copyright (C) 2024 Graz University of Technology.

    Invenio is free software; you can redistribute it and/or modify it
    under the terms of the MIT License; see LICENSE file for more details.

Changes
=======

Version 3.0.0 (released 2024-12-02)

- setup: update dependencies

Version 2.2.0 (released 2024-11-28)

- setup: upper pin packages
- fix: tests by pin pytz
- fix: my-site not overriding packages
- ext: add bundle entrypoint
- github: update reusable workflows

Version 2.1.2 (released 2024-08-05)

- fix BABEL_DEFAULT_LOCALE overridability

Version 2.1.1 (released 2023-11-10)

- semantic-ui: Update dependency restriction to be compatible with react-searchkit

Version 2.1.0 (released 2023-07-12)

- add method to check if locale is available

Version 2.0.0 (released 2023-02-27)

- Remove deprecated flask-babelex
- Expose LazyString, gettext from flask_babel to invenio
- Fix get_locale in cli (without request context)
- Replace set_locale with flask_babel.set_locale
- Use Multidomain translation in flask_babel context

Version 1.3.3 (released 2022-11-18)

- Adds translations
- Updates invenio dependencies
- refactors CI tests

Version 1.3.2 (released 2022-03-30)

- Adds support for Flask v2.1

Version 1.3.1 (released 2021-10-06)

- Fixes issue with language selector button not disabling the currently
  selected field.

Version 1.3.0 (released 2020-12-07)

- Integrates Semantic-UI templates and assets.
- Removes webassets-based bundles.
- Adds InvenioI18N extransion to the API level applications.

Version 1.2.0 (released 2020-03-06)

- Bumps Flask-BabelEx support latest Flask/Werkzeug.
- Replaces Flask dependency with ``invenio-base``.

Version 1.1.1 (released 2018-12-12)

- Fix an incorrect JS import.

Version 1.1.0 (released 2018-11-06)

- Introduce webpack support.

Version 1.0.0 (released 2018-03-23)

- Initial public release.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/inveniosoftware/invenio-i18n",
    "name": "invenio-i18n",
    "maintainer": null,
    "docs_url": "https://pythonhosted.org/invenio-i18n/",
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "invenio internationalization i18n localization l10n",
    "author": "CERN",
    "author_email": "info@inveniosoftware.org",
    "download_url": "https://files.pythonhosted.org/packages/a4/b8/006e20e603f664a1b02f960d58f450a07ec78b19ae9897ee691290229619/invenio_i18n-3.0.0.tar.gz",
    "platform": "any",
    "description": "..\n    This file is part of Invenio.\n    Copyright (C) 2015-2018 CERN.\n\n    Invenio is free software; you can redistribute it and/or modify it\n    under the terms of the MIT License; see LICENSE file for more details.\n\n==============\n Invenio-I18N\n==============\n\n.. image:: https://img.shields.io/github/license/inveniosoftware/invenio-i18n.svg\n        :target: https://github.com/inveniosoftware/invenio-i18n/blob/master/LICENSE\n\n.. image:: https://github.com/inveniosoftware/invenio-i18n/workflows/CI/badge.svg\n        :target: https://github.com/inveniosoftware/invenio-i18n/actions\n\n.. image:: https://img.shields.io/coveralls/inveniosoftware/invenio-i18n.svg\n        :target: https://coveralls.io/r/inveniosoftware/invenio-i18n\n\n.. image:: https://img.shields.io/pypi/v/invenio-i18n.svg\n        :target: https://pypi.org/pypi/invenio-i18n\n\n\nInvenio internationalization module based on\n`Flask-BabelEx <https://pythonhosted.org/Flask-BabelEx/>`_.\n\nFeatures:\n\n* Loading and merging message catalogs.\n* Algorithm for detecting a user's locale.\n* Views for changing the locale.\n* Jinja2 macros and filters for I18N.\n\nFurther documentation available at https://invenio-i18n.readthedocs.io/\n\n..\n    This file is part of Invenio.\n    Copyright (C) 2015-2018 CERN.\n    Copyright (C) 2024 Graz University of Technology.\n\n    Invenio is free software; you can redistribute it and/or modify it\n    under the terms of the MIT License; see LICENSE file for more details.\n\nChanges\n=======\n\nVersion 3.0.0 (released 2024-12-02)\n\n- setup: update dependencies\n\nVersion 2.2.0 (released 2024-11-28)\n\n- setup: upper pin packages\n- fix: tests by pin pytz\n- fix: my-site not overriding packages\n- ext: add bundle entrypoint\n- github: update reusable workflows\n\nVersion 2.1.2 (released 2024-08-05)\n\n- fix BABEL_DEFAULT_LOCALE overridability\n\nVersion 2.1.1 (released 2023-11-10)\n\n- semantic-ui: Update dependency restriction to be compatible with react-searchkit\n\nVersion 2.1.0 (released 2023-07-12)\n\n- add method to check if locale is available\n\nVersion 2.0.0 (released 2023-02-27)\n\n- Remove deprecated flask-babelex\n- Expose LazyString, gettext from flask_babel to invenio\n- Fix get_locale in cli (without request context)\n- Replace set_locale with flask_babel.set_locale\n- Use Multidomain translation in flask_babel context\n\nVersion 1.3.3 (released 2022-11-18)\n\n- Adds translations\n- Updates invenio dependencies\n- refactors CI tests\n\nVersion 1.3.2 (released 2022-03-30)\n\n- Adds support for Flask v2.1\n\nVersion 1.3.1 (released 2021-10-06)\n\n- Fixes issue with language selector button not disabling the currently\n  selected field.\n\nVersion 1.3.0 (released 2020-12-07)\n\n- Integrates Semantic-UI templates and assets.\n- Removes webassets-based bundles.\n- Adds InvenioI18N extransion to the API level applications.\n\nVersion 1.2.0 (released 2020-03-06)\n\n- Bumps Flask-BabelEx support latest Flask/Werkzeug.\n- Replaces Flask dependency with ``invenio-base``.\n\nVersion 1.1.1 (released 2018-12-12)\n\n- Fix an incorrect JS import.\n\nVersion 1.1.0 (released 2018-11-06)\n\n- Introduce webpack support.\n\nVersion 1.0.0 (released 2018-03-23)\n\n- Initial public release.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Invenio internationalization (I18N) module.",
    "version": "3.0.0",
    "project_urls": {
        "Homepage": "https://github.com/inveniosoftware/invenio-i18n"
    },
    "split_keywords": [
        "invenio",
        "internationalization",
        "i18n",
        "localization",
        "l10n"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3c26fb6280fa644bf2a5f53eabbc8b7da9bdb4dc022069f56875f886e44330e2",
                "md5": "7c15a939a775b80619a99fbeee368bf0",
                "sha256": "d06e02c14e07a09bf6989ac564c8cc17388382ebd2806c2fc18e8495421b767b"
            },
            "downloads": -1,
            "filename": "invenio_i18n-3.0.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7c15a939a775b80619a99fbeee368bf0",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.7",
            "size": 45328,
            "upload_time": "2024-12-02T22:12:39",
            "upload_time_iso_8601": "2024-12-02T22:12:39.174958Z",
            "url": "https://files.pythonhosted.org/packages/3c/26/fb6280fa644bf2a5f53eabbc8b7da9bdb4dc022069f56875f886e44330e2/invenio_i18n-3.0.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a4b8006e20e603f664a1b02f960d58f450a07ec78b19ae9897ee691290229619",
                "md5": "ef286a976fe17a67b14fe9033f2c2efd",
                "sha256": "81d55f1e96a8c1f9c777565d31af5fbd5c6cc5adebc1adb93f5ad2faa3e1bb2f"
            },
            "downloads": -1,
            "filename": "invenio_i18n-3.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "ef286a976fe17a67b14fe9033f2c2efd",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 37425,
            "upload_time": "2024-12-02T22:12:40",
            "upload_time_iso_8601": "2024-12-02T22:12:40.969619Z",
            "url": "https://files.pythonhosted.org/packages/a4/b8/006e20e603f664a1b02f960d58f450a07ec78b19ae9897ee691290229619/invenio_i18n-3.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-02 22:12:40",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "inveniosoftware",
    "github_project": "invenio-i18n",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "invenio-i18n"
}
        
Elapsed time: 0.35899s