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.2 (2012-12-31)
Fleshed out PyPI Trove classifiers.
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)
Python 3 support.
Don’t attempt to compile C extensions on PyPy or Jython.
Add a tox.ini (see http://tox.readthedocs.org/en/latest/) for easier automated testing.
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for zope.i18nmessageid-4.0.2.win-amd64-py3.3.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | f976a393d67180aa18354cb20a5ce6dcf88ee770cf16a4b07a29b0ad6b9f1b05 |
|
MD5 | 694df97f4faac9a813129926af80da16 |
|
BLAKE2b-256 | b84cace68b28c5e3f4d40d727899421755e1c1a9cb2a67826ff033d4a875acce |
Hashes for zope.i18nmessageid-4.0.2.win-amd64-py3.2.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7abe054b023744f367df93eae45cf2fc045826cb04f57dcacd52bdbc7be0b059 |
|
MD5 | 61cda7fb6ae6024f7d7c3f55b1682d28 |
|
BLAKE2b-256 | 2d7118f528515e74523fc9cb18e91c2df21b48f554a5ccd0aaed37d9cab72f36 |
Hashes for zope.i18nmessageid-4.0.2.win-amd64-py2.7.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1fc9e9600b2352c0eae0e4658c01bab46bf68f90ff09f5c74dc0268451ad0c2 |
|
MD5 | 596533a951bf2061f2efdb55d6e4084c |
|
BLAKE2b-256 | 403b79e20f4d81db35ab0862eb182c9d9267b0cf3337ce11f173cdbf291b05a3 |
Hashes for zope.i18nmessageid-4.0.2.win-amd64-py2.6.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce606838207b8a0bd4b427a34a75963a2d93e2b8bacc130155a821ace97346b4 |
|
MD5 | e3cfc37e797cc8129ba77dde31ab2193 |
|
BLAKE2b-256 | 6730abd8ff52e7c95f032e8128e296cf05711a1b6f601a596a3194c885fb44ff |
Hashes for zope.i18nmessageid-4.0.2.win32-py3.3.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67746f4331de2ccffb777fd413957c8d722e7f80776bf4e2d68bc8fccc99e7da |
|
MD5 | 7193863ac73e0f57afec5d38719e8fd9 |
|
BLAKE2b-256 | aa83bafed89fed914f8ef1614a5c50e18b5fd29eaee21c7b48b2975befc9c0b7 |
Hashes for zope.i18nmessageid-4.0.2.win32-py3.2.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09bd51bf29c4c702ea18a59547604464e08fe1f5e94fa103784ad1cb08621c6b |
|
MD5 | e1c84875386e616cd018841184542884 |
|
BLAKE2b-256 | 8131ee2db9b261b3302474e0b10978af3678a929d0f16b5c0ece66738d042251 |
Hashes for zope.i18nmessageid-4.0.2.win32-py2.7.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7633c3f7acea7366b148a625cd0a9c7e47a6d6715b0681c0f3975b7974d8531c |
|
MD5 | 6fcb8241b42697bfa4af934d7628e5be |
|
BLAKE2b-256 | 4492593e0d24c92ba29bc88f21ac80b92684bddebc1c0b1e14591713ebf55da0 |
Hashes for zope.i18nmessageid-4.0.2.win32-py2.6.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1da3d2c6611264b737811c033d6b71c5482ca5ef1f403ca1dce017dbe4cd63c3 |
|
MD5 | 0b5cb8282e5f251fe36a5f733f667d96 |
|
BLAKE2b-256 | 7f92287647343fb179d2144ad17fc5b71d97849b09883802db9bdb44d2e3faab |
Hashes for zope.i18nmessageid-4.0.2-py3.3-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42e9d177dd96e0e2465e2482726c412426a23b2fb49a2cd75f6aab5c8d9cd670 |
|
MD5 | e03e0d476ac08c770ace39910089e9c8 |
|
BLAKE2b-256 | 60ac62551ec3c5aa550c874d0c630b143b372d1508a056b2e69db69e2b360ffa |
Hashes for zope.i18nmessageid-4.0.2-py3.3-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d144b30c9a317219de7eee2cb4e08a4c985bd2805a77f0e205efe06f35e1e3b |
|
MD5 | c67997eb3e6e5b089d5bf4c0678b36a1 |
|
BLAKE2b-256 | 19a4b299c997baf7b1793fe844d196773353d3fb9e8824d0afd85d27163a6702 |
Hashes for zope.i18nmessageid-4.0.2-py3.2-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98c886067d312c6355377828cf5e3ad130839b2cf86b27a36e435ea2ba808621 |
|
MD5 | 8b3e115e12494293023119e0cd564205 |
|
BLAKE2b-256 | d9e7b87bb0f14bf2ac9dbe26becbde5e4e244e4edae7cb3356ecbb100007c7a8 |
Hashes for zope.i18nmessageid-4.0.2-py3.2-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77c761b1133a8071f8253932b3b4a6983bc184b83b5a9c0d78bf37c9929371a4 |
|
MD5 | 09f41fd65d1767ac31fe9ce629ebbf06 |
|
BLAKE2b-256 | a6ba40f44155366aedbbad510453664e4c03080267c28bd2413c40f46b23db7c |
Hashes for zope.i18nmessageid-4.0.2-py2.7-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 509db57d9a73220006cbc19664c87de1a4f95e0daccbd7aad361d95d3d796f89 |
|
MD5 | 451bc8e8dc0a41cab5de613af64c47ec |
|
BLAKE2b-256 | 98f580b15fc30454537a49fddb47dadedbe7781e900dfb441414490a7bfd201f |
Hashes for zope.i18nmessageid-4.0.2-py2.7-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cd40d35b28f431839a1e69451603edfdb2a8914c4d5fb8388fd4dee42ecd860 |
|
MD5 | e522ced2f00c33ac2500f9dd648a131b |
|
BLAKE2b-256 | 34f46cd75b80e422b86a98040370d7915b7cd73b4ac2bb05bb3eec11b254f0fe |
Hashes for zope.i18nmessageid-4.0.2-py2.6-win-amd64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | f312d737012fc87c66496af9263aea44c338c2b6692c4674e5acb5ca8e01163b |
|
MD5 | b3e440fe8c89e710954fefa3a37b31a8 |
|
BLAKE2b-256 | e18639479af761f95531c89d09997571b97d2299de073dc03407bc0c7c06f64a |
Hashes for zope.i18nmessageid-4.0.2-py2.6-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ca84b5156355da120714c11c49c1853911c6e70d3d329fe2612d5f0b0635230 |
|
MD5 | fffea336b46f5f7e4bf3084e52cf1c50 |
|
BLAKE2b-256 | c24ec321f77dedabf6be81975be8a18ad6675ced9575529b0e0b4330084d404b |