Skip to main content

Message Identifiers for internationalization

Project description

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.0.1 (2012-11-21)

  • Added support for Python 3.3.

4.0.0 (2012-05-16)

  • Automated build of Sphinx HTML docs and running doctest snippets via tox.

  • Removed 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).

  • 100% unit test coverage.

  • Move doctest examples into Sphinx documentation.

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

  • Added explicit support for PyPy.

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

  • Added ‘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)

  • Made 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)

  • Removed 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.

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

3.5.0 (2009-06-27)

  • Made compilation of C extension optional.

  • Added support to bootstrap on Jython.

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

  • Reformatted 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)

  • Moved 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.

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

  • Deprecated ‘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.0.1.tar.gz (22.1 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.0.1.win-amd64-py3.3.exe (242.0 kB view details)

Uploaded Source

zope.i18nmessageid-4.0.1.win-amd64-py3.2.exe (244.1 kB view details)

Uploaded Source

zope.i18nmessageid-4.0.1.win-amd64-py2.7.exe (243.8 kB view details)

Uploaded Source

zope.i18nmessageid-4.0.1.win-amd64-py2.6.exe (243.8 kB view details)

Uploaded Source

zope.i18nmessageid-4.0.1.win32-py3.3.exe (210.9 kB view details)

Uploaded Source

zope.i18nmessageid-4.0.1.win32-py3.2.exe (216.2 kB view details)

Uploaded Source

zope.i18nmessageid-4.0.1.win32-py2.7.exe (216.4 kB view details)

Uploaded Source

zope.i18nmessageid-4.0.1.win32-py2.6.exe (216.4 kB view details)

Uploaded Source

zope.i18nmessageid-4.0.1-py3.3-win-amd64.egg (19.2 kB view details)

Uploaded Egg

zope.i18nmessageid-4.0.1-py3.3-win32.egg (19.4 kB view details)

Uploaded Egg

zope.i18nmessageid-4.0.1-py3.2-win-amd64.egg (19.0 kB view details)

Uploaded Egg

zope.i18nmessageid-4.0.1-py3.2-win32.egg (19.2 kB view details)

Uploaded Egg

zope.i18nmessageid-4.0.1-py2.7-win-amd64.egg (19.0 kB view details)

Uploaded Egg

zope.i18nmessageid-4.0.1-py2.7-win32.egg (19.2 kB view details)

Uploaded Egg

zope.i18nmessageid-4.0.1-py2.6-win-amd64.egg (19.0 kB view details)

Uploaded Egg

zope.i18nmessageid-4.0.1-py2.6-win32.egg (19.2 kB view details)

Uploaded Egg

File details

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

File metadata

File hashes

Hashes for zope.i18nmessageid-4.0.1.tar.gz
Algorithm Hash digest
SHA256 d9b8fd7c78822b281110729b41d71fab9fd54b1e6264ce92a0b73af56374ee24
MD5 f251b52da9831616fb7f510f2e1ad47e
BLAKE2b-256 02b74df9eff98799b77f26d18e976a0fd904e8c131e2d96c8305c43f5d1e195d

See more details on using hashes here.

File details

Details for the file zope.i18nmessageid-4.0.1.win-amd64-py3.3.exe.

File metadata

File hashes

Hashes for zope.i18nmessageid-4.0.1.win-amd64-py3.3.exe
Algorithm Hash digest
SHA256 ac0b4db0a4c23140f3461ec7fb293143aac2b9320526072e6e5e6b4ef19ac3e4
MD5 cb199f2ce4662c4984bd131a1d66a358
BLAKE2b-256 7d6691c083a95ed2ff364d76f495cc4eadd7a20dc9245379fd185e5157112e71

See more details on using hashes here.

File details

Details for the file zope.i18nmessageid-4.0.1.win-amd64-py3.2.exe.

File metadata

File hashes

Hashes for zope.i18nmessageid-4.0.1.win-amd64-py3.2.exe
Algorithm Hash digest
SHA256 5418edd0c28734da279aefe5978e849890f45591a99e0e6453964c256fcf18b5
MD5 f4b2d331d1b87b1c0ea1690c0cd054e2
BLAKE2b-256 c83ff1c95ba507be8010542a8c28b6ef08971db47a76034e10a099e882c7a5b7

See more details on using hashes here.

File details

Details for the file zope.i18nmessageid-4.0.1.win-amd64-py2.7.exe.

File metadata

File hashes

Hashes for zope.i18nmessageid-4.0.1.win-amd64-py2.7.exe
Algorithm Hash digest
SHA256 51729ce4dca2e257ff801fb897c690a76802cc456dd8f7a5feca8691ca953cde
MD5 48b3800d61d383cf000e3f556277c203
BLAKE2b-256 f18a940182c5cb8813da7548dadc8d77e8317de5f08fa6d98c8a59554b68801b

See more details on using hashes here.

File details

Details for the file zope.i18nmessageid-4.0.1.win-amd64-py2.6.exe.

File metadata

File hashes

Hashes for zope.i18nmessageid-4.0.1.win-amd64-py2.6.exe
Algorithm Hash digest
SHA256 b9bacb7ba04f9d3e581a6582e47d2896ef0ca643b9c946ccea11272526ce3970
MD5 3a6e1aea05409f76b91eac3d06bcfbda
BLAKE2b-256 e72f8cec7fa9833bc974d0cf9b0107cf3f9eba52ba2066b09e0d320745f1da1c

See more details on using hashes here.

File details

Details for the file zope.i18nmessageid-4.0.1.win32-py3.3.exe.

File metadata

File hashes

Hashes for zope.i18nmessageid-4.0.1.win32-py3.3.exe
Algorithm Hash digest
SHA256 16b15547cbe297c364788c6094eba760eef4a98bdf86cffbb75d7356778f4cd6
MD5 8f7cbcc3bd852fa9c48054ff807e5ebc
BLAKE2b-256 0ab5753f2adf2633c45be682c03102e30c739ae15115b18f49ab4031eaca5cac

See more details on using hashes here.

File details

Details for the file zope.i18nmessageid-4.0.1.win32-py3.2.exe.

File metadata

File hashes

Hashes for zope.i18nmessageid-4.0.1.win32-py3.2.exe
Algorithm Hash digest
SHA256 6cbc02053764d9bed774f8380ac361ac7ec9c887512042062b83f796f713d2d4
MD5 5b1964e0b614c5bc619c693cfde8bd9d
BLAKE2b-256 25f710aad4fd619591398ec4a90dc52cfa007ff333128df3a07b1c054a99ecb3

See more details on using hashes here.

File details

Details for the file zope.i18nmessageid-4.0.1.win32-py2.7.exe.

File metadata

File hashes

Hashes for zope.i18nmessageid-4.0.1.win32-py2.7.exe
Algorithm Hash digest
SHA256 e32a58a2ce0e1333561132c8763b5d760921b1791de673d66d0d877910300e6a
MD5 6076309fd011c4efc19c5a29c9d98904
BLAKE2b-256 07ad98cd56994561fd4b312954ee0ae45694a93278024bca55f832e8e57a9932

See more details on using hashes here.

File details

Details for the file zope.i18nmessageid-4.0.1.win32-py2.6.exe.

File metadata

File hashes

Hashes for zope.i18nmessageid-4.0.1.win32-py2.6.exe
Algorithm Hash digest
SHA256 d34b441e4e4f9fbdda3390aae5ddad26d556dd009b72f684160067fa73f75fec
MD5 edb53c8e2f74e6b674e12c02a1b04b4b
BLAKE2b-256 90b2e01267d2b4ab3f0794d8634b16ec9418f3d809d706c704369ac3c17b23d8

See more details on using hashes here.

File details

Details for the file zope.i18nmessageid-4.0.1-py3.3-win-amd64.egg.

File metadata

File hashes

Hashes for zope.i18nmessageid-4.0.1-py3.3-win-amd64.egg
Algorithm Hash digest
SHA256 e61235a0c0d79052b35604676af7b606f96d4365f592ac11b9a554832b170652
MD5 38d3570a2ff183d071ebd834616942f3
BLAKE2b-256 0e2c6e4785ec58d7f84e9b85a67a4082a858054efe227b769f6db4bc09550e8c

See more details on using hashes here.

File details

Details for the file zope.i18nmessageid-4.0.1-py3.3-win32.egg.

File metadata

File hashes

Hashes for zope.i18nmessageid-4.0.1-py3.3-win32.egg
Algorithm Hash digest
SHA256 6a7ae6d0846bf43a8ab3badd54efb03d98c83e0fc34e0bd684975415f89d1c44
MD5 02be832a3d4cae5545a5b799618825d1
BLAKE2b-256 b34f2d6fbfff193301f2420734075ae2e9891c3840170eccfd737acaf5ef2d16

See more details on using hashes here.

File details

Details for the file zope.i18nmessageid-4.0.1-py3.2-win-amd64.egg.

File metadata

File hashes

Hashes for zope.i18nmessageid-4.0.1-py3.2-win-amd64.egg
Algorithm Hash digest
SHA256 b084968906fd101bb03abf0e0454233e79d6649f028b9f07d3dbfcb39423cc42
MD5 e4da9d8211326262bb1f8840d1642859
BLAKE2b-256 a2040e5849f1abb6c440d2ce2c726f2515e54f2a9bc6d2d8260acfca74fe1229

See more details on using hashes here.

File details

Details for the file zope.i18nmessageid-4.0.1-py3.2-win32.egg.

File metadata

File hashes

Hashes for zope.i18nmessageid-4.0.1-py3.2-win32.egg
Algorithm Hash digest
SHA256 6d37182cafe02151778540f143688d5e31c09aacdedcab91be0d2414edaf00e1
MD5 ac9618ef430ba3f9b723c6d7e91ae056
BLAKE2b-256 7c025fbca26b36a937e41e7ccb52a2225f37fd1080f4c86149eff96fa7ec29c4

See more details on using hashes here.

File details

Details for the file zope.i18nmessageid-4.0.1-py2.7-win-amd64.egg.

File metadata

File hashes

Hashes for zope.i18nmessageid-4.0.1-py2.7-win-amd64.egg
Algorithm Hash digest
SHA256 1722dc19bdfffc567e9c40f74f49af829e10a1e5e5d915c4cb8aeb9e04840096
MD5 b4d878050da51308d5e2740f048dd328
BLAKE2b-256 f66e124d0d33b11ef72fadb112cf5c61957b280be54ea7bc62e1dfdc87dbb6cb

See more details on using hashes here.

File details

Details for the file zope.i18nmessageid-4.0.1-py2.7-win32.egg.

File metadata

File hashes

Hashes for zope.i18nmessageid-4.0.1-py2.7-win32.egg
Algorithm Hash digest
SHA256 a6fd5106fbc23c7548bdc00d0b2a5b4ad293914b7d256eb6d96a8bbd09fc2fa9
MD5 948a8b6d77c00210be7bbbc791eb2191
BLAKE2b-256 be7f13dd721c47c2ad458eb6af072d389ec087142a7eca0bef6d70b23104788e

See more details on using hashes here.

File details

Details for the file zope.i18nmessageid-4.0.1-py2.6-win-amd64.egg.

File metadata

File hashes

Hashes for zope.i18nmessageid-4.0.1-py2.6-win-amd64.egg
Algorithm Hash digest
SHA256 38aa627eebe00361ea998a1e644e6e95d7c0f126d140def98dd7c9506845fa53
MD5 9e901f7cb5fe2af72a608637e18ac547
BLAKE2b-256 814a53fa92c0d5f0f98cc0ef743a725ff029769a2a0367137ead54f1b07688e0

See more details on using hashes here.

File details

Details for the file zope.i18nmessageid-4.0.1-py2.6-win32.egg.

File metadata

File hashes

Hashes for zope.i18nmessageid-4.0.1-py2.6-win32.egg
Algorithm Hash digest
SHA256 1fa4a181ad38aa7578be85f78e79e3ad502f1deb59f8b9c8d8e64d7a590f19db
MD5 0006f4bdcb4d042593a8fd8299dd9cb9
BLAKE2b-256 aeb397ef28dcef2d9fb421ff2953d0b23fa1664fe734373dbde1e07d238ef57c

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