Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed support for the ``zope_i18n_compile_mo_files`` environ flag.lazy-tds | Malthe Borch | 2012-10-11 | 4 | -13/+51 |
| | |||||
* | The ZCML directive handler for a translation domain registration now | Malthe Borch | 2012-10-10 | 8 | -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 Borch | 2012-10-10 | 0 | -0/+0 |
| | | | | obsolete the requirement to specify 'allowed languages' on application startup. | ||||
* | update changelog | Godefroid Chapelle | 2012-09-03 | 1 | -0/+2 |
| | |||||
* | log DEBUG when loading translations from directories | Godefroid Chapelle | 2012-09-03 | 1 | -0/+8 |
| | |||||
* | - Drop support for Python 2.4 and 2.5. | Tres Seaver | 2012-05-17 | 14 | -46/+49 |
| | | | | | | - Replace deprecated 'zope.interface.implements' usage with equivalent 'zope.interface.implementer' decorator. | ||||
* | Back to development: 3.8.1 | Gediminas Paulauskas | 2012-03-15 | 2 | -1/+7 |
| | |||||
* | Hide 'See docs/index.rst' from pypi | Gediminas Paulauskas | 2012-03-15 | 1 | -1/+1 |
| | |||||
* | Preparing release 3.8.0 | Gediminas Paulauskas | 2012-03-15 | 2 | -2/+2 |
| | |||||
* | Added optional ``domain`` attribute to ``registerTranslations`` directive to | Gediminas Paulauskas | 2012-02-10 | 4 | -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 fixes | Gediminas Paulauskas | 2012-02-10 | 3 | -3/+20 |
| | |||||
* | Fix incorrect ZPL version in file headers | Gediminas Paulauskas | 2011-03-23 | 3 | -3/+3 |
| | |||||
* | Start working on sphinx-based documentation. It's basically Tres' template | Christian Theune | 2010-10-26 | 7 | -3/+470 |
| | | | | minus zope.event specific parts. Started including existing API documentation. | ||||
* | Fix #611746: NAME_RE should be identical to the one in zope.tal | Christian Theune | 2010-10-26 | 2 | -1/+3 |
| | |||||
* | completed previous check-in | Thomas Lotze | 2010-09-19 | 2 | -1/+3 |
| | |||||
* | Include meta.zcml files in our own zcml configuration as needed, | Thomas Lotze | 2010-09-19 | 4 | -2/+28 |
| | | | | added a test for our configure.zcml. | ||||
* | made the test that includes all levels and package extras the default | Thomas Lotze | 2010-09-19 | 1 | -5/+1 |
| | |||||
* | Back to development: 3.7.5 | Michael Howitz | 2010-07-08 | 2 | -1/+7 |
| | |||||
* | Preparing release 3.7.4 | Michael Howitz | 2010-07-08 | 2 | -2/+2 |
| | |||||
* | Added missing test dependency on ``zope.testing``. | Michael Howitz | 2010-07-08 | 3 | -3/+6 |
| | |||||
* | Remove CVS-era Id fossils. | Tres Seaver | 2010-06-03 | 32 | -66/+0 |
| | |||||
* | Conform to repository policy. | Tres Seaver | 2010-05-05 | 35 | -34/+79 |
| | |||||
* | Bump version | Hanno Schlichting | 2010-04-30 | 2 | -1/+5 |
| | |||||
* | Prepare zope.i18n 3.7.3. | Hanno Schlichting | 2010-04-30 | 2 | -4/+4 |
| | |||||
* | Update bootstrap | Hanno Schlichting | 2010-04-30 | 1 | -1/+1 |
| | |||||
* | Removed use of 'zope.testing.doctestunit' in favor of stdlib's 'doctest. | Tres Seaver | 2010-04-16 | 5 | -6/+7 |
| | |||||
* | Use consistent spacings | Baiju Muthukadan | 2010-01-11 | 1 | -8/+8 |
| | |||||
* | Use latest bootstrap script | Baiju Muthukadan | 2010-01-11 | 1 | -19/+88 |
| | |||||
* | Back to dev. | Chris McDonough | 2009-12-14 | 2 | -1/+6 |
| | |||||
* | Prep for 3.7.2. | Chris McDonough | 2009-12-14 | 2 | -2/+2 |
| | |||||
* | - Use getSiteManager rather than getGlobalSiteManager in ZCML (these | Chris McDonough | 2009-12-14 | 2 | -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 Borch | 2009-11-13 | 2 | -2/+3 |
| | |||||
* | Mark as part of the ZTK | Martijn Faassen | 2009-09-11 | 1 | -0/+5 |
| | |||||
* | Update version after release | Hanno Schlichting | 2009-08-07 | 2 | -1/+6 |
| | |||||
* | Prepare release | Hanno Schlichting | 2009-08-07 | 2 | -2/+2 |
| | |||||
* | Fixed the interpackage translation domain merging feature to actually work. ↵ | Hanno Schlichting | 2009-08-07 | 3 | -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 Borch | 2009-05-12 | 1 | -0/+1 |
| | | | | typically don't consider that it might fail silently. | ||||
* | Fix recursive translations where the translation domain of a sub-message is | Brian Sutherland | 2009-04-14 | 2 | -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 the | Brian Sutherland | 2009-04-14 | 3 | -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 Korostelev | 2009-03-18 | 2 | -2/+8 |
| | |||||
* | This probably should be a new `y` in `x.y.z` pattern. | Dan Korostelev | 2009-03-18 | 2 | -2/+2 |
| | |||||
* | Add `configure.zcml` that registers standard negotiator utility and includes ↵ | Dan Korostelev | 2009-03-17 | 2 | -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 Muthukadan | 2009-03-11 | 1 | -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 Korostelev | 2009-02-27 | 290 | -6085/+47458 |
|\ | |||||
| * | Update CLDR license information. | Dan Korostelev | 2009-02-27 | 3 | -210/+453 |
| | | |||||
| * | Add support for calendar aliases. | Dan Korostelev | 2009-02-27 | 3 | -3/+17 |
| | | |||||
| * | Add support for month and day contexts and widths. | Dan Korostelev | 2009-02-24 | 4 | -36/+226 |
| | | |||||
| * | add branch TODO | Dan Korostelev | 2009-02-23 | 1 | -0/+78 |
| | | |||||
| * | (no commit message) | Dan Korostelev | 2009-02-23 | 60 | -0/+9536 |
| | | |||||
| * | Create a branch for upgrading CLDR data. | Dan Korostelev | 2009-02-23 | 225 | -5871/+37256 |
| |\ | |/ |/| |