summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fixed support for the ``zope_i18n_compile_mo_files`` environ flag.lazy-tdsMalthe Borch2012-10-114-13/+51
|
* The ZCML directive handler for a translation domain registration nowMalthe Borch2012-10-108-73/+78
| | | | | | | | | | | | | | | | | | | | loads message catalogs lazily. If the `zope_i18n_allowed_languages` environment variable is not provided, the allowed languages are determined at runtime. To participate in this, a translation domain implementation must now expose a set of languages in a ``languages`` attribute. The difficulty in this patch is that the ``INegotiator`` interface relies on an "allowed languages" set, but this set is not readily available. In the current definition of a translation domain, we can't know until we attempt a translation whether a language is supported. The solution in this patch is to require that a translation domain exposes the defined languages and then query all translation domains to determine the allowed languages. It would be nice if we could just provide a value of ``None`` (meaning any language), but there's already existing implementations that expect a set.
* Branch to let translation domains load message catalogs lazily, making ↵Malthe Borch2012-10-100-0/+0
| | | | obsolete the requirement to specify 'allowed languages' on application startup.
* update changelogGodefroid Chapelle2012-09-031-0/+2
|
* log DEBUG when loading translations from directoriesGodefroid Chapelle2012-09-031-0/+8
|
* - Drop support for Python 2.4 and 2.5.Tres Seaver2012-05-1714-46/+49
| | | | | | - Replace deprecated 'zope.interface.implements' usage with equivalent 'zope.interface.implementer' decorator.
* Back to development: 3.8.1Gediminas Paulauskas2012-03-152-1/+7
|
* Hide 'See docs/index.rst' from pypiGediminas Paulauskas2012-03-151-1/+1
|
* Preparing release 3.8.0Gediminas Paulauskas2012-03-152-2/+2
|
* Added optional ``domain`` attribute to ``registerTranslations`` directive toGediminas Paulauskas2012-02-104-14/+47
| | | | | | | only load the specified translation domain. Allows to move catalogs to `/usr/share/locale` and avoid loading hundreds of unrelated domains.
* Some ReST fixesGediminas Paulauskas2012-02-103-3/+20
|
* Fix incorrect ZPL version in file headersGediminas Paulauskas2011-03-233-3/+3
|
* Start working on sphinx-based documentation. It's basically Tres' templateChristian Theune2010-10-267-3/+470
| | | | minus zope.event specific parts. Started including existing API documentation.
* Fix #611746: NAME_RE should be identical to the one in zope.talChristian Theune2010-10-262-1/+3
|
* completed previous check-inThomas Lotze2010-09-192-1/+3
|
* Include meta.zcml files in our own zcml configuration as needed,Thomas Lotze2010-09-194-2/+28
| | | | added a test for our configure.zcml.
* made the test that includes all levels and package extras the defaultThomas Lotze2010-09-191-5/+1
|
* Back to development: 3.7.5Michael Howitz2010-07-082-1/+7
|
* Preparing release 3.7.4Michael Howitz2010-07-082-2/+2
|
* Added missing test dependency on ``zope.testing``.Michael Howitz2010-07-083-3/+6
|
* Remove CVS-era Id fossils.Tres Seaver2010-06-0332-66/+0
|
* Conform to repository policy.Tres Seaver2010-05-0535-34/+79
|
* Bump versionHanno Schlichting2010-04-302-1/+5
|
* Prepare zope.i18n 3.7.3.Hanno Schlichting2010-04-302-4/+4
|
* Update bootstrapHanno Schlichting2010-04-301-1/+1
|
* Removed use of 'zope.testing.doctestunit' in favor of stdlib's 'doctest.Tres Seaver2010-04-165-6/+7
|
* Use consistent spacingsBaiju Muthukadan2010-01-111-8/+8
|
* Use latest bootstrap scriptBaiju Muthukadan2010-01-111-19/+88
|
* Back to dev.Chris McDonough2009-12-142-1/+6
|
* Prep for 3.7.2.Chris McDonough2009-12-142-2/+2
|
* - Use getSiteManager rather than getGlobalSiteManager in ZCML (theseChris McDonough2009-12-142-2/+7
| | | | | | | 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).
* This is a critical error.Malthe Borch2009-11-132-2/+3
|
* Mark as part of the ZTKMartijn Faassen2009-09-111-0/+5
|
* Update version after releaseHanno Schlichting2009-08-072-1/+6
|
* Prepare releaseHanno Schlichting2009-08-072-2/+2
|
* Fixed the interpackage translation domain merging feature to actually work. ↵Hanno Schlichting2009-08-073-12/+40
| | | | 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.
* Log a warning message before returning; libraries that depend on this method ↵Malthe Borch2009-05-121-0/+1
| | | | typically don't consider that it might fail silently.
* Fix recursive translations where the translation domain of a sub-message isBrian Sutherland2009-04-142-5/+30
| | | | | different from the parent message. Use the zope.i18n.translate function to get the right fallback behaviour.
* Fix translation domains translating a message for a different domain. In theBrian Sutherland2009-04-143-13/+16
| | | | | | 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.
* Bump version.Dan Korostelev2009-03-182-2/+8
|
* This probably should be a new `y` in `x.y.z` pattern.Dan Korostelev2009-03-182-2/+2
|
* Add `configure.zcml` that registers standard negotiator utility and includes ↵Dan Korostelev2009-03-172-0/+14
| | | | ``zope.i18n.locales`` configuration. This was previously done by ``zope.app.i18n``.
* As 'setuptools' is a dependency 'pkg_resources' will be available always. ↵Baiju Muthukadan2009-03-111-8/+1
| | | | Ref: http://mail.zope.org/pipermail/zope-dev/2009-March/035277.html
* Merge the nadako-sorting branch, updating CLDR to 1.1.Dan Korostelev2009-02-27290-6085/+47458
|\
| * Update CLDR license information.Dan Korostelev2009-02-273-210/+453
| |
| * Add support for calendar aliases.Dan Korostelev2009-02-273-3/+17
| |
| * Add support for month and day contexts and widths.Dan Korostelev2009-02-244-36/+226
| |
| * add branch TODODan Korostelev2009-02-231-0/+78
| |
| * (no commit message)Dan Korostelev2009-02-2360-0/+9536
| |
| * Create a branch for upgrading CLDR data.Dan Korostelev2009-02-23225-5871/+37256
| |\ | |/ |/|