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 3.2.0 (released 2025-07-01)

  • fix: pkg_resources DeprecationWarning

Version 3.1.0 (released 2025-05-20)

  • cli: add command to fetch translation from tansifex

  • cli: add command to distribute react translation to packages

  • fix: setuptools require underscores instead of dashes

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.

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-3.2.0.tar.gz (41.0 kB view details)

Uploaded Source

Built Distribution

invenio_i18n-3.2.0-py2.py3-none-any.whl (46.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file invenio_i18n-3.2.0.tar.gz.

File metadata

  • Download URL: invenio_i18n-3.2.0.tar.gz
  • Upload date:
  • Size: 41.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for invenio_i18n-3.2.0.tar.gz
Algorithm Hash digest
SHA256 328b1675d851ee55f9d9da5e2dd1983bdb99e3da3d1888a66cad94023cb98ea2
MD5 f95eb89688afec0c018c2e29c9facb3a
BLAKE2b-256 0e8251ee27015c9315a781158c2633c274660e27b1711bb37b47dc1f565f4e48

See more details on using hashes here.

File details

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

File metadata

  • Download URL: invenio_i18n-3.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 46.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for invenio_i18n-3.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f0cb53f5408595fcd702677cfeae77c63e232bc41eaaafca09ece5084af460f2
MD5 8828dfdfa314c3270cfebb7733907738
BLAKE2b-256 0b6146f15ce28070f80fd15a5866f8770fa660bee3e8e8fcb14fda7c5c6051b7

See more details on using hashes here.

Supported by

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