invenio-i18n


Nameinvenio-i18n JSON
Version 2.1.2 PyPI version JSON
download
home_pagehttps://github.com/inveniosoftware/invenio-i18n
SummaryInvenio internationalization (I18N) module.
upload_time2024-08-05 09:07:59
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.

    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 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/8d/19/5638b24fb8ab8891b2f5520be2a93c26355a49b530e5242ababafd96349d/invenio-i18n-2.1.2.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\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 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\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Invenio internationalization (I18N) module.",
    "version": "2.1.2",
    "project_urls": {
        "Homepage": "https://github.com/inveniosoftware/invenio-i18n"
    },
    "split_keywords": [
        "invenio",
        "internationalization",
        "i18n",
        "localization",
        "l10n"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "833e016d1ec3aa0f3ae197940104351d027fd64c3419eb45c87761f84b85647b",
                "md5": "afd9832815b76074130733bdba6297d4",
                "sha256": "ca66b3d226f963d765c71c7fcbbf7ff2f5977db3cd0b84893073bda4655f99a9"
            },
            "downloads": -1,
            "filename": "invenio_i18n-2.1.2-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "afd9832815b76074130733bdba6297d4",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.7",
            "size": 65569,
            "upload_time": "2024-08-05T09:07:57",
            "upload_time_iso_8601": "2024-08-05T09:07:57.990379Z",
            "url": "https://files.pythonhosted.org/packages/83/3e/016d1ec3aa0f3ae197940104351d027fd64c3419eb45c87761f84b85647b/invenio_i18n-2.1.2-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8d195638b24fb8ab8891b2f5520be2a93c26355a49b530e5242ababafd96349d",
                "md5": "f6b7b82a772ac9b7b28b348781d11b0c",
                "sha256": "6f39224abb3e26c32d670ba1828f4d147acc0e8cca0671ce66862a5264ce75ef"
            },
            "downloads": -1,
            "filename": "invenio-i18n-2.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "f6b7b82a772ac9b7b28b348781d11b0c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 40154,
            "upload_time": "2024-08-05T09:07:59",
            "upload_time_iso_8601": "2024-08-05T09:07:59.092952Z",
            "url": "https://files.pythonhosted.org/packages/8d/19/5638b24fb8ab8891b2f5520be2a93c26355a49b530e5242ababafd96349d/invenio-i18n-2.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-05 09:07:59",
    "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.38634s