invenio-i18n


Nameinvenio-i18n JSON
Version 2.1.1 PyPI version JSON
download
home_pagehttps://github.com/inveniosoftware/invenio-i18n
SummaryInvenio internationalization (I18N) module.
upload_time2023-11-10 09:23:09
maintainer
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.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": "",
    "docs_url": "https://pythonhosted.org/invenio-i18n/",
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "invenio internationalization i18n localization l10n",
    "author": "CERN",
    "author_email": "info@inveniosoftware.org",
    "download_url": "https://files.pythonhosted.org/packages/e5/3c/28ad31a881718e49741df5c06c15bc3b9d4ec7675ce4cf0a1a7bc8edc1f5/invenio-i18n-2.1.1.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.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.1",
    "project_urls": {
        "Homepage": "https://github.com/inveniosoftware/invenio-i18n"
    },
    "split_keywords": [
        "invenio",
        "internationalization",
        "i18n",
        "localization",
        "l10n"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bf42bda23761b58aadc5446668a9585d4300c179a4473c907843105e1cad2146",
                "md5": "5f54cf9da7d1159f58dbe1b6733d26fb",
                "sha256": "057a2d67b3453a7dd2e7d70881074ed5c4dc983615472467cb6b5057366246fa"
            },
            "downloads": -1,
            "filename": "invenio_i18n-2.1.1-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5f54cf9da7d1159f58dbe1b6733d26fb",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.7",
            "size": 65531,
            "upload_time": "2023-11-10T09:23:07",
            "upload_time_iso_8601": "2023-11-10T09:23:07.290837Z",
            "url": "https://files.pythonhosted.org/packages/bf/42/bda23761b58aadc5446668a9585d4300c179a4473c907843105e1cad2146/invenio_i18n-2.1.1-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e53c28ad31a881718e49741df5c06c15bc3b9d4ec7675ce4cf0a1a7bc8edc1f5",
                "md5": "a5a4454ff6c256811741d388e7e26ca0",
                "sha256": "915e011a22acfe71e83a4c1bf8ab2a7a064d977b28ba631ede0e0ab2aa0cb592"
            },
            "downloads": -1,
            "filename": "invenio-i18n-2.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "a5a4454ff6c256811741d388e7e26ca0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 39997,
            "upload_time": "2023-11-10T09:23:09",
            "upload_time_iso_8601": "2023-11-10T09:23:09.417368Z",
            "url": "https://files.pythonhosted.org/packages/e5/3c/28ad31a881718e49741df5c06c15bc3b9d4ec7675ce4cf0a1a7bc8edc1f5/invenio-i18n-2.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-10 09:23:09",
    "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.13881s