Skip to main content

Invenio internationalization (I18N) module.

Project description

https://img.shields.io/github/license/inveniosoftware/invenio-i18n.svg https://github.com/inveniosoftware/invenio-i18n/workflows/CI/badge.svg https://img.shields.io/coveralls/inveniosoftware/invenio-i18n.svg https://img.shields.io/pypi/v/invenio-i18n.svg

Invenio internationalization module based on 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/

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

invenio-i18n-2.1.2.tar.gz (40.2 kB view details)

Uploaded Source

Built Distribution

invenio_i18n-2.1.2-py2.py3-none-any.whl (65.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file invenio-i18n-2.1.2.tar.gz.

File metadata

  • Download URL: invenio-i18n-2.1.2.tar.gz
  • Upload date:
  • Size: 40.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.19

File hashes

Hashes for invenio-i18n-2.1.2.tar.gz
Algorithm Hash digest
SHA256 6f39224abb3e26c32d670ba1828f4d147acc0e8cca0671ce66862a5264ce75ef
MD5 f6b7b82a772ac9b7b28b348781d11b0c
BLAKE2b-256 8d195638b24fb8ab8891b2f5520be2a93c26355a49b530e5242ababafd96349d

See more details on using hashes here.

File details

Details for the file invenio_i18n-2.1.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for invenio_i18n-2.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ca66b3d226f963d765c71c7fcbbf7ff2f5977db3cd0b84893073bda4655f99a9
MD5 afd9832815b76074130733bdba6297d4
BLAKE2b-256 833e016d1ec3aa0f3ae197940104351d027fd64c3419eb45c87761f84b85647b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page