Zope.i18n

Latest version: v5.1

Safety actively analyzes 628969 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 6

3.7.0

==================

- Update data to CLDR 1.1. This introduces contextual month
and day names and different month/day name widths. More CLDR updates
are expected, see the "nadako-cldr" branch of zope.i18n.

- Add `configure.zcml` that registers standard negotiator utility and includes
``zope.i18n.locales`` configuration. This was previously done by
``zope.app.i18n``.

3.6.0

==================

- Fix a test failure in the compile mo file support.

- Move the zcml support into an extra. This reduces the dependencies of a
standard zope.i18n install by half a dozen packages.

3.5.0

==================

- Feature: Add new top-level negotiate function, which can be used to
negotiate the language when the available languages are set globally via
`zope_i18n_allowed_languages`.

- Feature: Add support for restricting the available languages. We support
an environment variable called `zope_i18n_allowed_languages` now, which is
a list of comma or space separated language codes. If the environment
variable is set, the ZCML registration will only process those folders
which are in the allowed languages list.

- Feature: Add optional automatic compilation of mo files from po files.
You need to depend on the `zope.i18n [compile]` extra and set an environment
variable called `zope_i18n_compile_mo_files` to any True value to enable
this option.

- Feature: Re-use existing translation domains when registering new ones.
This allows multiple packages to register translations in the same domain.
If the same message exists in multiple catalogs the one registered first
will take precedence.

- Feature: Recursive translations of message strings with mappings
(https://bugs.launchpad.net/zope3/+bug/210177), thanks to Hermann
Himmelbauer for the inital patch.

- Bug: When parsing a date, the parsing pattern did not ensure that the line
started and ended with the matching pattern, so that '1/1/2007' parsed into
'1/1/20' for example.

3.4.0

==================

- Update meta-data. No code changes.

3.4.0b5

====================

- Bug: Fix dependency on ``zope.component`` to require it with the 'zcml'
extra instead of requiring ``zope.security`` directly.

3.4.0b4

====================

- Bug: Number parsing was too forgiving, allowing non-numerical and/or
formatting characters before, after and within the number. The parsing is
more strict now.

Page 5 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.