Skip to main content

Message Identifiers for internationalization

Project description

zope.i18nmessageid

Latest Version https://travis-ci.org/zopefoundation/zope.i18nmessageid.svg?branch=master Documentation Status

To translate any text, we must be able to discover the source domain of the text. A source domain is an identifier that identifies a project that produces program source strings. Source strings occur as literals in python programs, text in templates, and some text in XML data. The project implies a source language and an application context.

We can think of a source domain as a collection of messages and associated translation strings.

We often need to create unicode strings that will be displayed by separate views. The view cannot translate the string without knowing its source domain. A string or unicode literal carries no domain information, therefore we use messages. Messages are unicode strings which carry a translation source domain and possibly a default translation. They are created by a message factory. The message factory is created by calling MessageFactory with the source domain.

This package provides facilities for declaring such messages within program source text; translation of the messages is the responsiblitiy of the ‘zope.i18n’ package.

Please see http://docs.zope.org/zope.i18nmessageid/ for the documentation.

Changes

4.3 (2018-10-18)

  • Add attributes to support pluralization on a Message and update the MessageFactory accordingly.

4.2 (2018-10-05)

  • Fix the possibility of a rare crash in the C extension when deallocating items. See issue 7.

  • Drop support for Python 3.3.

  • Add support for Python 3.7.

4.1.0 (2017-05-02)

  • Drop support for Python 2.6 and 3.2.

  • Add support for Python 3.5 and 3.6.

  • Fix the C extension not being used in Python 3. See issue 4.

  • Make the Python implementation of Message accept any object for the default argument, just as the C extension does. This should be a unicode or byte string. See issue 5.

4.0.3 (2014-03-19)

  • Add support for Python 3.4.

  • Update boostrap.py to version 2.2.

4.0.2 (2012-12-31)

  • Flesh out PyPI Trove classifiers.

4.0.1 (2012-11-21)

  • Add support for Python 3.3.

4.0.0 (2012-05-16)

  • Automate generation of Sphinx HTML docs and running doctest snippets via tox.

  • Remove use of ‘2to3’ and associated fixers when installing under Py3k. The code is now in a “compatible subset” which supports Python 2.6, 2.7, and 3.2, including PyPy 1.8 (the version compatible with the 2.7 language spec).

  • Bring unit test coverage to 100%.

  • Move doctest examples into Sphinx documentation.

  • Drop explicit support for Python 2.4 / 2.5 / 3.1.

  • Add explicit support for PyPy.

  • Add ‘setup.py dev’ alias (runs setup.py develop plus installs nose and coverage).

  • Add ‘setup.py docs’ alias (installs Sphinx and dependencies).

3.6.1 (2011-07-20)

  • Correct metadata in this file for release date.

3.6.0 (2011-07-20)

3.5.3 (2010-08-10)

  • Make compilation of C extension optional again; 3.5.1 broke this inasmuch as this package become unusable on non-CPython platforms. Making the compilation of the C extension optional again implied removing setup.py code added in 3.5.1 which made the C extension a setuptools “Feature” and readding code from 3.5.0 which overrides the distutils build_ext command.

  • Move pickle equality tests into a unittest.TestCase test to make it easier to condition the tests on whether the C extension has been compiled. This also makes the tests pass on Jython.

3.5.2 (2010-04-30)

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

3.5.1 (2010-04-10)

  • LP #257657 / 489529: Fix memory leak in C extension.

  • Fix the compilation of the C extension with python 2.6: refactored it as a setuptools Feature.

3.5.0 (2009-06-27)

  • Make compilation of C extension optional.

  • Add support to bootstrap on Jython.

  • Change package’s mailing list address from zope3-dev at zope.org to zope-dev at zope.org, because zope3-dev is now retired.

  • Reformat change log to common formatting style.

  • Update package description and docs a little.

  • Remove old .cfg files for zpkg.

3.4.3 (2007-09-26)

  • Make PyPI the home URL.

3.4.2 (2007-09-25)

  • Move the ZopeMessageFactory from zope.app.i18n to this package.

3.4.0 (2007-07-19)

  • Remove incorrect dependency.

  • Create final release to reflect package status.

3.2.0 (2006-01-05)

  • Corresponds to the verison of the zope.i18nmessageid package shipped as part of the Zope 3.2.0 release.

  • Implement ‘zope.i18nmessageid.message’ as a C extension.

  • Deprecate ‘zope.i18nmessageid.messageid’ APIs (‘MessageID’, ‘MessageIDFactory’) in favor of replacements in ‘zope.i18nmessageid.message’ (‘Message’, ‘MessageFactory’). Deprecated items are scheduled for removal in Zope 3.3.

3.0.0 (2004-11-07)

  • Corresponds to the verison of the zope.i18nmessageid package shipped as part of the Zope X3.0.0 release.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zope.i18nmessageid-4.3.tar.gz (26.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

zope.i18nmessageid-4.3-cp37-cp37m-win_amd64.whl (19.4 kB view details)

Uploaded CPython 3.7mWindows x86-64

zope.i18nmessageid-4.3-cp37-cp37m-win32.whl (18.7 kB view details)

Uploaded CPython 3.7mWindows x86

zope.i18nmessageid-4.3-cp36-cp36m-win_amd64.whl (19.4 kB view details)

Uploaded CPython 3.6mWindows x86-64

zope.i18nmessageid-4.3-cp36-cp36m-win32.whl (18.7 kB view details)

Uploaded CPython 3.6mWindows x86

zope.i18nmessageid-4.3-cp35-cp35m-win_amd64.whl (19.4 kB view details)

Uploaded CPython 3.5mWindows x86-64

zope.i18nmessageid-4.3-cp35-cp35m-win32.whl (18.6 kB view details)

Uploaded CPython 3.5mWindows x86

zope.i18nmessageid-4.3-cp34-cp34m-win_amd64.whl (17.2 kB view details)

Uploaded CPython 3.4mWindows x86-64

zope.i18nmessageid-4.3-cp34-cp34m-win32.whl (17.3 kB view details)

Uploaded CPython 3.4mWindows x86

zope.i18nmessageid-4.3-cp27-cp27m-win_amd64.whl (17.2 kB view details)

Uploaded CPython 2.7mWindows x86-64

zope.i18nmessageid-4.3-cp27-cp27m-win32.whl (17.4 kB view details)

Uploaded CPython 2.7mWindows x86

File details

Details for the file zope.i18nmessageid-4.3.tar.gz.

File metadata

  • Download URL: zope.i18nmessageid-4.3.tar.gz
  • Upload date:
  • Size: 26.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.14

File hashes

Hashes for zope.i18nmessageid-4.3.tar.gz
Algorithm Hash digest
SHA256 3b0cbf8237c7c820cdef990442905506d5985802fb9c065dfe9eb5fd3910dc98
MD5 4725d41b6e5273a70d79b538d369a992
BLAKE2b-256 19425099ba540a0e07df70267fa7176de318bd6e3ed9bddaa81617de76ba3b43

See more details on using hashes here.

File details

Details for the file zope.i18nmessageid-4.3-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: zope.i18nmessageid-4.3-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 19.4 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.0

File hashes

Hashes for zope.i18nmessageid-4.3-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 034a941c485177c87952db016011c02c4b0a77bc4991629c3f152689cd6cdff0
MD5 2212a41eb19af2e012f1b80af0a262e6
BLAKE2b-256 f76a7c2d6ce1ecc150e244682035eba499bc0a2c7e77341f3adcd6c02c422938

See more details on using hashes here.

File details

Details for the file zope.i18nmessageid-4.3-cp37-cp37m-win32.whl.

File metadata

  • Download URL: zope.i18nmessageid-4.3-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.0

File hashes

Hashes for zope.i18nmessageid-4.3-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 dd266346f973bec2fe07bed6e546d04392b6e03f37bffeb84ff3214eb1d9500c
MD5 f4a5c3c3f066582b9bf22da341a518fd
BLAKE2b-256 da421a9e143c1733ffd54eab63394e287210f26789fd7ddc4f91b0fbe3adb6a2

See more details on using hashes here.

File details

Details for the file zope.i18nmessageid-4.3-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: zope.i18nmessageid-4.3-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 19.4 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.6.6

File hashes

Hashes for zope.i18nmessageid-4.3-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 fc0b4ce5d102b9212448338c1025d6af02b35195bb89da046b1e145c9c053280
MD5 47048282d1a01b3fb0026b2ac8ae6242
BLAKE2b-256 423fbeba7c708dd6c7cdfe688d774645b0e67c3b43d124dd05295fbd3b76b69b

See more details on using hashes here.

File details

Details for the file zope.i18nmessageid-4.3-cp36-cp36m-win32.whl.

File metadata

  • Download URL: zope.i18nmessageid-4.3-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.6.6

File hashes

Hashes for zope.i18nmessageid-4.3-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 2c2d09b509e59271ab81327cf3340ee408d263fff0a635b6301b89055be90651
MD5 5bb9fd567ea177bd0f19a3efbe04b284
BLAKE2b-256 d2bdeaea1ebb1b34175bdb278fb3b0d82b805536e1dcaa117b635a3a7a7b2e5c

See more details on using hashes here.

File details

Details for the file zope.i18nmessageid-4.3-cp35-cp35m-win_amd64.whl.

File metadata

  • Download URL: zope.i18nmessageid-4.3-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 19.4 kB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/28.8.0 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.5.4

File hashes

Hashes for zope.i18nmessageid-4.3-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 2ee7a59966e4a2164e9977f9378a443d45d30f58a6e1d47f1a970ff832d65fb4
MD5 4ec7c0703482620af4aba8a52baab42f
BLAKE2b-256 129c26e0e8ffc78a5ee9de8e34de8c4b93ceb6405d972ca346b3accfc0428c96

See more details on using hashes here.

File details

Details for the file zope.i18nmessageid-4.3-cp35-cp35m-win32.whl.

File metadata

  • Download URL: zope.i18nmessageid-4.3-cp35-cp35m-win32.whl
  • Upload date:
  • Size: 18.6 kB
  • Tags: CPython 3.5m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/28.8.0 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.5.4

File hashes

Hashes for zope.i18nmessageid-4.3-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 b2879254487996e6ecc6a89486781e2c26a18a98acefb9e2fa4a485afccff5f3
MD5 acdae82b8211c94a533806ec4fe10da2
BLAKE2b-256 98ef8aee08c00a9b367f0bf30b6ca32327c2ab08c492921eb274aa10f56e000b

See more details on using hashes here.

File details

Details for the file zope.i18nmessageid-4.3-cp34-cp34m-win_amd64.whl.

File metadata

  • Download URL: zope.i18nmessageid-4.3-cp34-cp34m-win_amd64.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: CPython 3.4m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/18.2 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.4.4

File hashes

Hashes for zope.i18nmessageid-4.3-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 a080944341c3477ae12df6334613e94446bc430d84209cb8e88d16d921ef8417
MD5 93edcd32d09b3691671169548651a88a
BLAKE2b-256 c63afc2003e321e6bc2e3cd22007122e70b71dad28306a90cb9fb2c8e491858e

See more details on using hashes here.

File details

Details for the file zope.i18nmessageid-4.3-cp34-cp34m-win32.whl.

File metadata

  • Download URL: zope.i18nmessageid-4.3-cp34-cp34m-win32.whl
  • Upload date:
  • Size: 17.3 kB
  • Tags: CPython 3.4m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/18.2 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.4.4

File hashes

Hashes for zope.i18nmessageid-4.3-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 15aea96691adf739dd5fc95b9e922765a63cdbfba9dc7e87d141ef3dc3ba9e3a
MD5 4444f16f823f70536db90cebae1f8b9f
BLAKE2b-256 a9538b3dc815762345957fe77530e00487643bd50d33183c8c8e763a45f3ae37

See more details on using hashes here.

File details

Details for the file zope.i18nmessageid-4.3-cp27-cp27m-win_amd64.whl.

File metadata

  • Download URL: zope.i18nmessageid-4.3-cp27-cp27m-win_amd64.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: CPython 2.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/2.7.15

File hashes

Hashes for zope.i18nmessageid-4.3-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 053f90ef337b28e7d5bc7bb0526380683e5447afadbf387bcb64eff141dcd6bb
MD5 26f67138e38d5c6cb639f7b74093e6fa
BLAKE2b-256 45dd609d86e627aff4f49f217078efe79c37c6449ce5deb1afbbb1536e0f43ff

See more details on using hashes here.

File details

Details for the file zope.i18nmessageid-4.3-cp27-cp27m-win32.whl.

File metadata

  • Download URL: zope.i18nmessageid-4.3-cp27-cp27m-win32.whl
  • Upload date:
  • Size: 17.4 kB
  • Tags: CPython 2.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/2.7.15

File hashes

Hashes for zope.i18nmessageid-4.3-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 180383f3720812f4f55143a2e12a7ffbe155aabfd6a4681c931bdff60337b08d
MD5 87f66ce9bfc0fe7afc543008dbf9e71e
BLAKE2b-256 a5a10630b3b42f876d8a8196a5f2c146ec3cb952cb662df012bc4fd25714371f

See more details on using hashes here.

Supported by

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