Skip to main content

Message Identifiers for internationalization

Project description

zope.i18nmessageid

Latest Version https://travis-ci.org/zopefoundation/zope.i18nmessageid.png?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.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.1.0.tar.gz (24.2 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.1.0-cp36-cp36m-win_amd64.whl (20.2 kB view details)

Uploaded CPython 3.6mWindows x86-64

zope.i18nmessageid-4.1.0-cp36-cp36m-win32.whl (19.4 kB view details)

Uploaded CPython 3.6mWindows x86

zope.i18nmessageid-4.1.0-cp36-cp36m-manylinux1_x86_64.whl (26.5 kB view details)

Uploaded CPython 3.6m

zope.i18nmessageid-4.1.0-cp35-cp35m-win_amd64.whl (20.2 kB view details)

Uploaded CPython 3.5mWindows x86-64

zope.i18nmessageid-4.1.0-cp35-cp35m-win32.whl (19.4 kB view details)

Uploaded CPython 3.5mWindows x86

zope.i18nmessageid-4.1.0-cp35-cp35m-manylinux1_x86_64.whl (26.5 kB view details)

Uploaded CPython 3.5m

zope.i18nmessageid-4.1.0-cp34-cp34m-win_amd64.whl (18.0 kB view details)

Uploaded CPython 3.4mWindows x86-64

zope.i18nmessageid-4.1.0-cp34-cp34m-win32.whl (18.1 kB view details)

Uploaded CPython 3.4mWindows x86

zope.i18nmessageid-4.1.0-cp34-cp34m-manylinux1_x86_64.whl (26.3 kB view details)

Uploaded CPython 3.4m

zope.i18nmessageid-4.1.0-cp33-cp33m-win_amd64.whl (18.0 kB view details)

Uploaded CPython 3.3mWindows x86-64

zope.i18nmessageid-4.1.0-cp33-cp33m-win32.whl (18.1 kB view details)

Uploaded CPython 3.3mWindows x86

zope.i18nmessageid-4.1.0-cp27-cp27m-win_amd64.whl (18.0 kB view details)

Uploaded CPython 2.7mWindows x86-64

zope.i18nmessageid-4.1.0-cp27-cp27m-win32.whl (18.2 kB view details)

Uploaded CPython 2.7mWindows x86

File details

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

File metadata

File hashes

Hashes for zope.i18nmessageid-4.1.0.tar.gz
Algorithm Hash digest
SHA256 f72c00d53407626209b878333a24710e9afa69ae235233333581cc4f3cf1356e
MD5 e1e4b98243a56a91ebc495060206976d
BLAKE2b-256 7e1c95949302c4a823c155539cf6fe0853e581cc98104dc603de97513f27b590

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zope.i18nmessageid-4.1.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 7d62d04b38b3d80969c47f55f53591f9c3f1da23bd74169928eb1688436e5cc6
MD5 a1c0e4c7333924ccc3179fa3c73573b0
BLAKE2b-256 489015f71f8f8f14d2efd8454d76032f74de064dcedfc279a2aa93cbe109467e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zope.i18nmessageid-4.1.0-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 ea99c78e8b2c66bae7fe3b364642a5367ca7b982c6cc0c8a0778f8e5a57b9abe
MD5 b1205f57c7400b71b9d53f8c3109ea8e
BLAKE2b-256 715d750b910652c956e47d79c2cfcf0655c333bd2682813587b45a0a0c05f169

See more details on using hashes here.

File details

Details for the file zope.i18nmessageid-4.1.0-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for zope.i18nmessageid-4.1.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2842e4fff8e940907c9f919ab59c3bb31e598869eab32ccebc2750113ed91e3e
MD5 b929dea2ee931d826258fe9116a46c65
BLAKE2b-256 b98d531fdadbafac889a90ccff5722a149148ac2ee565ff04d21e5ae6bb5ddc2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zope.i18nmessageid-4.1.0-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 779480eafdb6828ac4df29d97f26305777368aee78496a2ef0a69f0c711dc0f5
MD5 fe2637c4093c906d487f22f65341dba9
BLAKE2b-256 3d865078843486917fff5bcf264dae7e6a5b6639b0312141ff7e076b649d70eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zope.i18nmessageid-4.1.0-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 bdf67a5c0e8494b002a000a7f1d70eb86deee729184f6204d5196fa81fd8d373
MD5 094d1dc6ea6a7088d0b1fa09076ef13f
BLAKE2b-256 b6ce4e0a4c36ff02140337ab0fc7b957cf261465694b6fffc6c3f7d2fd600df6

See more details on using hashes here.

File details

Details for the file zope.i18nmessageid-4.1.0-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for zope.i18nmessageid-4.1.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 43b2463910384151a415893b1e2cad9f331265c107baa083c3cc27863c1757de
MD5 ea5263e97acb6fefc0d450a66f68c21c
BLAKE2b-256 7797688247ee4795f560089e961235d4199ee977b2a9ac9d8beea3cfd017a78d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zope.i18nmessageid-4.1.0-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 9939ea4a0fd09608991e3e51f8102d90c6a8c2f04e9a993c08f43a62541fbc06
MD5 4e92a741512ecea1e5a37748e7530b53
BLAKE2b-256 9185d7292b5221d6badcc923d14f002c506890c5bfca867a49ff982e93ac3e8d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zope.i18nmessageid-4.1.0-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 181f46f998bfc6b5ed912d1b604c02396f72ccd85f53b5a9f21ef710fe2894f9
MD5 2d0f4520a82144dfab02b38fa21ba190
BLAKE2b-256 d4727fdd4feb6cf3466e80a07f6a893f9241e7748a311564400de1cc063b08d3

See more details on using hashes here.

File details

Details for the file zope.i18nmessageid-4.1.0-cp34-cp34m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for zope.i18nmessageid-4.1.0-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9bed74b50b7269c7b34785f920d3ca08757c421640233cf8740793210c149166
MD5 5ca0f3000536e43bc2ac6ef900b192c0
BLAKE2b-256 777be756cd5972d6d447380e8acbbd88dae8c0942eadc2d0674a8754b505f8ee

See more details on using hashes here.

File details

Details for the file zope.i18nmessageid-4.1.0-cp33-cp33m-win_amd64.whl.

File metadata

File hashes

Hashes for zope.i18nmessageid-4.1.0-cp33-cp33m-win_amd64.whl
Algorithm Hash digest
SHA256 9f949106048e548e0e7fbac766e9e05ee2f94223a5ccbfda4a3bacfb0e933076
MD5 0c20beef2d39054fc535d4dcccfbc25c
BLAKE2b-256 0f00e075064e7fae6a48227b4d82f79f8130403717fcf6f44b9a6f88de76b3d7

See more details on using hashes here.

File details

Details for the file zope.i18nmessageid-4.1.0-cp33-cp33m-win32.whl.

File metadata

File hashes

Hashes for zope.i18nmessageid-4.1.0-cp33-cp33m-win32.whl
Algorithm Hash digest
SHA256 cf979d23c6b002ef025a55066bdf2442cdc18bbac6331d8e4225f40dcd0f7c11
MD5 232e2074d9a0b86f13b69de3d19591ff
BLAKE2b-256 8fdc1f846f118585e3a5c039b51dab353d352aa8e51a4a6919e551c8dd09cdb4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zope.i18nmessageid-4.1.0-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 e390073b568274d69ddfb24ce7036af67579da62a51beb5fcfe69070946b310b
MD5 25b4759aeaba67f15297f2dd966e2381
BLAKE2b-256 71db17bd3bf6bff2d3c64409252f775af2b7f0fc22db75f05cff68dbda9cf4a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zope.i18nmessageid-4.1.0-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 65e38a2ab35c9096651d651a9d9754c91dfb6100877c11606df061f1e0f1e76e
MD5 2168f3a92a83153bd50ed723502ca56e
BLAKE2b-256 caea3f621d701901abcc945681d461e7cd7334d6c2adbd69d5048d452dcc1d2d

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