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.1 (2018-10-19)

  • Fix a regression copying Message objects in the Python implementation. See issue 14.

4.3.0 (2018-10-18)

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

4.2.0 (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.1.tar.gz (27.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.3.1-cp37-cp37m-win_amd64.whl (19.4 kB view details)

Uploaded CPython 3.7mWindows x86-64

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

Uploaded CPython 3.7mWindows x86

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

Uploaded CPython 3.6mWindows x86-64

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

Uploaded CPython 3.6mWindows x86

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

Uploaded CPython 3.5mWindows x86-64

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

Uploaded CPython 3.5mWindows x86

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

Uploaded CPython 3.4mWindows x86-64

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

Uploaded CPython 3.4mWindows x86

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

Uploaded CPython 2.7mWindows x86-64

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

Uploaded CPython 2.7mWindows x86

File details

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

File metadata

  • Download URL: zope.i18nmessageid-4.3.1.tar.gz
  • Upload date:
  • Size: 27.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.0

File hashes

Hashes for zope.i18nmessageid-4.3.1.tar.gz
Algorithm Hash digest
SHA256 e511edff8e75d3a6f84d8256e1e468c85a4aa9d89c2ea264a919334fae7081e3
MD5 17e8def3511099d9ab0ca0de60ed2acc
BLAKE2b-256 d80b2b09daacbe377581125e181b5db32156db1dc4accbeb6efbbdcdb22377f0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zope.i18nmessageid-4.3.1-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.20.0 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.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 f3b8736299f74961771bfbc81f91fe5c9cf4aaa69bb71ba48c38724c30857176
MD5 328993e7187c70863ae5de0c90032b0f
BLAKE2b-256 f8eae30a2e4f6277cb238716726ca4e487cec1310b7bca78b357d2d8299b6a8d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zope.i18nmessageid-4.3.1-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.20.0 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.1-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 c0fac62e897d0c02d7b209fc2b2026a2cfb6c55724ed77a0047360f56e5b237b
MD5 b579e6106bb84140f906b9b4ed1582b4
BLAKE2b-256 29865927f3e789140e1a6d61cfda506dedcf87cfc07669f8d78c57acc995a838

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zope.i18nmessageid-4.3.1-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.20.0 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.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 541cad5df76d7b06e082ac47ec6c8b1de9c110b09633768c9557f3fa2b6246d8
MD5 dfb887ac2ff9352f531c7cfc18a2892b
BLAKE2b-256 5033dae93b6461b44c85df85b4835f02def9835448dff0daff2a6b78932d087b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zope.i18nmessageid-4.3.1-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.20.0 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.1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 499566ed9086cfe28d5240a5a449bd54275fe7e0bf3d5351cdefbd8b41db736b
MD5 29e7349536836bffb7eac55f96bc11ce
BLAKE2b-256 27d11eb91b1dbaff0df9d4237790751619c1bdc183bf63ef2ecbfde0863b87f5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zope.i18nmessageid-4.3.1-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.20.0 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.1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 6afd9fc52968fe8b7ff931799bab914da7e4e8d216faa9ceb3fae988c3031704
MD5 0cd9c66decf2d608d51b66357903de91
BLAKE2b-256 a84cfb710a33f9dbbe4c9e79280fed4453267d336cf5f9cf47044ac88bc55c86

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zope.i18nmessageid-4.3.1-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.20.0 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.1-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 3993849417f864c9bd430c052219aa4743bb42bf93f10eaa1c2a7a75057dd1fb
MD5 bb65e4ec2ec08325fef4285046ef097f
BLAKE2b-256 15cb0fd11768b1f79fd4ca1921f55882281323df84b84ce1a18b4579867835c3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zope.i18nmessageid-4.3.1-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.20.0 setuptools/18.2 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.4.4

File hashes

Hashes for zope.i18nmessageid-4.3.1-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 944de707e278526bce15a53b81411719f2318540b5b33b96ddad1af27aea37d1
MD5 dbcef231efbb23f260b73f71abc3ba6b
BLAKE2b-256 64034eebeb4ccd71a02362eb84efc261f58d805c5ce6c149fe0b3d0c416b20fb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zope.i18nmessageid-4.3.1-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.20.0 setuptools/18.2 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.4.4

File hashes

Hashes for zope.i18nmessageid-4.3.1-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 2e87575b02be2838551e70c90efd825e9da934b0215e5dd44fc64fffbd163e79
MD5 b20bf2d6c6e3572253363c8032730875
BLAKE2b-256 8704eb84fb9d417ef46af4b24f77758a181d2ace0052b852ad3dd43ed9ec27e0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zope.i18nmessageid-4.3.1-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.20.0 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.1-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 ab339702bba20880490a8647910394a28e5bdf0be9526dfa4ccafde03de7d9b9
MD5 813de660a89e0940b2b503de0e10adca
BLAKE2b-256 c02eb8b3a6d3dfc88cafac72809faac6b82eaeee7b6c16820c0355fc0beeabd0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zope.i18nmessageid-4.3.1-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.20.0 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.1-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 ac3de08de557d4455f4c88dedb15e09dbf54c5a3fe072562e6043fd213e79180
MD5 7873f62e680d97e388cc8b9c3908a222
BLAKE2b-256 cb7ab40b5454a5c1343ac843a6336786d3da8cf9c8d2d30093c249253df41bb8

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