Not Logged In

zope.i18n 4.0.0a4

This package implements several APIs related to internationalization and
localization.

Locale objects for all locales maintained by the ICU project.

Gettext-based message catalogs for message strings.

Locale discovery for Web-based requests.

CHANGES

4.0.0a4 (2013-02-18)

Restore zope.i18n.testing.{setUp,PlacelessSetup} that got lost in 4.0.0a3.
These require zope.publisher, which is not ported to Python 3 yet, so I
haven’t added it back to install_requires in setup.py. User beware.

Include meta.zcml files in our own zcml configuration as needed, added a
test for our configure.zcml.

Update zope.i18n.NAME_RE to be identical to zope.tal as required by the
comment next to it. Fixes #611746.

3.7.4 (2010-07-08)

Added missing test dependency on zope.testing.

3.7.3 (2010-04-30)

Removed use of ‘zope.testing.doctestunit’ in favor of stdlib’s ‘doctest.

3.7.2 (2009-12-14)

It’s a critical error when the GetText library is unavailable
and compilation is required.

Use getSiteManager rather than getGlobalSiteManager in ZCML (these
should be one in the same in any non-fancy setup, however if you’ve
hooked getSiteManager, you want the ZCML handler to use the hooked
version).

3.7.1 (2009-08-07)

Fixed the interpackage translation domain merging feature to actually work.
We need to defer the merging into the ZCML handler execution phase, as the
utilities don’t exist yet during the ZCML parsing phase. Thx to Andreas
Zeidler for finding and fixing the issue in PlacelessTranslationService in
the first place.

Fix translation domains translating a message for a different domain. In the
process, fix testMessageIDTranslateForDifferentDomain which seemed to work by
mistake as the “other” and “default” domains used the same catalog. This is
basically a reversion of 39991.

3.7.0 (2009-03-18)

Updated locale 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 (2008-10-26)

Fixed 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 (2008-07-10)

Feature: Added 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: Added 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: Added 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.