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.2 (2018-10-05)

  • Fix the possibility of a rare crash in the C extension when deallocating items. See #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.2.tar.gz (25.9 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.2-cp37-cp37m-win_amd64.whl (18.2 kB view details)

Uploaded CPython 3.7mWindows x86-64

zope.i18nmessageid-4.2-cp37-cp37m-win32.whl (17.5 kB view details)

Uploaded CPython 3.7mWindows x86

zope.i18nmessageid-4.2-cp36-cp36m-win_amd64.whl (18.2 kB view details)

Uploaded CPython 3.6mWindows x86-64

zope.i18nmessageid-4.2-cp36-cp36m-win32.whl (17.5 kB view details)

Uploaded CPython 3.6mWindows x86

zope.i18nmessageid-4.2-cp35-cp35m-win_amd64.whl (18.2 kB view details)

Uploaded CPython 3.5mWindows x86-64

zope.i18nmessageid-4.2-cp35-cp35m-win32.whl (17.4 kB view details)

Uploaded CPython 3.5mWindows x86

zope.i18nmessageid-4.2-cp34-cp34m-win_amd64.whl (16.0 kB view details)

Uploaded CPython 3.4mWindows x86-64

zope.i18nmessageid-4.2-cp34-cp34m-win32.whl (16.1 kB view details)

Uploaded CPython 3.4mWindows x86

zope.i18nmessageid-4.2-cp27-cp27m-win_amd64.whl (16.1 kB view details)

Uploaded CPython 2.7mWindows x86-64

zope.i18nmessageid-4.2-cp27-cp27m-win32.whl (16.3 kB view details)

Uploaded CPython 2.7mWindows x86

File details

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

File metadata

  • Download URL: zope.i18nmessageid-4.2.tar.gz
  • Upload date:
  • Size: 25.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.7 CPython/2.7.15

File hashes

Hashes for zope.i18nmessageid-4.2.tar.gz
Algorithm Hash digest
SHA256 2903eb8c62df08d9f29bb17b97ef5a53914b9fe71b31df0bf6415b5b168dd500
MD5 3fcca62261a280d7a8b40788d3057a52
BLAKE2b-256 9968942e5e483ce0550e5b7fbfdf5658d575f8a2917afd4c0f60d462f8e86573

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zope.i18nmessageid-4.2-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 18.2 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.26.0 CPython/3.7.0

File hashes

Hashes for zope.i18nmessageid-4.2-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 28352c16b455f58e89d2f01251d67b8d743ac1e9156e491a94920acb7d53e3e7
MD5 6ea1056efbf5cf311d137d0d5ba7931c
BLAKE2b-256 15843222f1cb6e456dc715f889d0fbc92b2f6aae2a345b95919eb8fd9bead81b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zope.i18nmessageid-4.2-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 17.5 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.26.0 CPython/3.7.0

File hashes

Hashes for zope.i18nmessageid-4.2-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 db04b24588d002b3e63b5b35fbcf47ebaa5528f7daa4b74fbb46d5236787a2a3
MD5 b7fc8b2c6e8f1960caf5eb8cea6866c3
BLAKE2b-256 b2aae53f895ec48cfc20c8d2e314ec5a1c08d4d1771563abec49cb0bd2b3cfb4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zope.i18nmessageid-4.2-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 18.2 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.26.0 CPython/3.6.6

File hashes

Hashes for zope.i18nmessageid-4.2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 c067423f6dc58a139222316fe26fd0673fe4ab8de872e73ae3310aad19a752ad
MD5 0bdb2329095a22fec1de438a026e1198
BLAKE2b-256 75fa181f7142e28409c2a88339235c949200f037137819080e91c2b0cab7682f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zope.i18nmessageid-4.2-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 17.5 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.26.0 CPython/3.6.6

File hashes

Hashes for zope.i18nmessageid-4.2-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 fa12aa256768677d938d894d4857d6d7354251de9329610110d3f532abbb6287
MD5 946596976713bce1920f29f1966605be
BLAKE2b-256 7a26077a25b1b99500f010c5d86d56362e437822c8dc4b1a7c89d25b0107bc03

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zope.i18nmessageid-4.2-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 18.2 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.26.0 CPython/3.5.4

File hashes

Hashes for zope.i18nmessageid-4.2-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 e5a0128ba0551fdcddcf89c6238c9dcf374da0aa29f38b081c1ff5d5858dc2ab
MD5 5e0664b1bc9c9c87ea06e6d5206af0dc
BLAKE2b-256 f7cf51ec7dae8a5f815be9cdf5905a8e9f2df4b492729e5e22ecb2ccf688a561

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zope.i18nmessageid-4.2-cp35-cp35m-win32.whl
  • Upload date:
  • Size: 17.4 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.26.0 CPython/3.5.4

File hashes

Hashes for zope.i18nmessageid-4.2-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 a0f95219bf8687515e05856d61c51390c9700718646114338625d1f476835d55
MD5 1fad1069cc6f2eb122a4caf02f9adef5
BLAKE2b-256 4086dd14f285dd34cb999850c529a996150446d0807a262e818fe9544776cb00

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zope.i18nmessageid-4.2-cp34-cp34m-win_amd64.whl
  • Upload date:
  • Size: 16.0 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.26.0 CPython/3.4.4

File hashes

Hashes for zope.i18nmessageid-4.2-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 739179d63bd01408e10e6342400fe3ad6cc2d84c7cd0212bc9ffa8575f75a0b5
MD5 cad1e8e111a03b42200ab651ed88aee3
BLAKE2b-256 80bfa59393f8fc5dfbe45ea1b828f7a19cdaa9aef75366dd8bbebb5f4fe8f933

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zope.i18nmessageid-4.2-cp34-cp34m-win32.whl
  • Upload date:
  • Size: 16.1 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.26.0 CPython/3.4.4

File hashes

Hashes for zope.i18nmessageid-4.2-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 10eaec7a07c9753d381cdfa13997b97ad7bbe4ee36495ac5845fa03a0c514571
MD5 e87ba65c0377458b44d70fdc7ec19f6f
BLAKE2b-256 e42a1eaf0ffaf6e2f7f5ad4763732f3a22b776684f9ea8270c2582103a9e22d1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zope.i18nmessageid-4.2-cp27-cp27m-win_amd64.whl
  • Upload date:
  • Size: 16.1 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.26.0 CPython/2.7.15

File hashes

Hashes for zope.i18nmessageid-4.2-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 7594db8aef0e277010cb792cca318e66a4c04c3a535e196810d792ccfdec4c86
MD5 3b2f29984139380aeb70193b25d9246b
BLAKE2b-256 524bba0094069f059ea5f407688c4e70a7d09db07b11cca05fc84d027ca6bb51

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zope.i18nmessageid-4.2-cp27-cp27m-win32.whl
  • Upload date:
  • Size: 16.3 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.26.0 CPython/2.7.15

File hashes

Hashes for zope.i18nmessageid-4.2-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 106ff3d53eeeecb46ea80c4127d5e55e1fd9c6152ccba20cca18a96a69e77ce3
MD5 979ba245e1a90ce5c9f75d6f27117bf9
BLAKE2b-256 fb9b20f7b0dac9f543bb93a53ab04b7662c61659a77a27bb526cadb731e94b6a

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