translationstring


Nametranslationstring JSON
Version 1.4 PyPI version JSON
download
home_pagehttps://github.com/Pylons/translationstring
SummaryUtility library for i18n relied on by various Repoze and Pyramid packages
upload_time2020-07-09 11:58:32
maintainer
docs_urlNone
authorChris McDonough, Agendaless Consulting
requires_python
licenseBSD-like (http://repoze.org/license.html)
keywords i18n l10n internationalization localization gettext chameleon
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            translationstring
=================

A library used by various `Pylons Project <https://pylonsproject.org>`_ packages
for internationalization (i18n) duties related to translation.

This package provides a *translation string* class, a *translation string
factory* class, translation and pluralization primitives, and a utility that
helps `Chameleon <https://chameleon.readthedocs.io/en/latest/>`_ templates use
translation facilities of this package.  It does not depend on `Babel
<http://babel.pocoo.org/en/latest/>`_, but its translation and pluralization
services are meant to work best when provided with an instance of the
``babel.support.Translations`` class.

Please see https://docs.pylonsproject.org/projects/translationstring/en/latest/
for the documentation.


translationstring
=================

1.4 (2020-07-09)
----------------

- Drop support for Python 2.6, 3.2 and 3.
- Update license classifiers


1.3 (2014-11-05)
----------------

- Fix Python 3-specific test failures.

- Restore compatibility with Python 3.2.

1.2 (2014-11-04)
----------------

- Add support for message contexts.

- If the object passed to a TranslationStringFactory ``__call__`` method is
  itself a translation string, use the passed object's ``domain`` instead of
  the domain passed to the factory's contstructor.  See
  https://github.com/Pylons/translationstring/pull/12 .


1.1 (2012-02-08)
----------------

- Add MANIFEST to make sure all files are present in a release. This fixes
  `ticket 8 <https://github.com/Pylons/translationstring/issues/8>`_.


1.0 (2012-02-04)
----------------

- coerce non-string values to a string during translation, except for None.

- Honour mapping information passed to the translator, combining it with
  mapping data already part of the translation string.

- Support formatting of translation strings with %-operator.

0.4 (09-22-2011)
----------------

- Python 3 compatibility (thanks to Joe Dallago, GSOC student).

- Remove testing dependency on Babel.

- Moved to GitHub (https://github.com/Pylons/translationstring).

- Added tox.ini for testing purposes.

0.3 (06-25-2010)
----------------

- Preserve default translations even if they are an empty string. This
  fixes problems with Chameleon being unable to determine if a translation
  is present or not.

0.2 (04-25-2010)
----------------

- Add ``__getstate__`` and ``__reduce__`` methods to translation
  string to allow for pickling.

- Fix bug in ChameleonTranslate.  When ``i18n:translate`` was used in
  templates, a translation string was inappropriately created with a
  ``default`` value of the empty string.  Symptom: template text would
  "disappear" rather than being returned untranslated.

0.1 (04-24-2010)
----------------

- Initial release.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Pylons/translationstring",
    "name": "translationstring",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "i18n l10n internationalization localization gettext chameleon",
    "author": "Chris McDonough, Agendaless Consulting",
    "author_email": "pylons-discuss@googlegroups.com",
    "download_url": "https://files.pythonhosted.org/packages/14/39/32325add93da9439775d7fe4b4887eb7986dbc1d5675b0431f4531f560e5/translationstring-1.4.tar.gz",
    "platform": "",
    "description": "translationstring\n=================\n\nA library used by various `Pylons Project <https://pylonsproject.org>`_ packages\nfor internationalization (i18n) duties related to translation.\n\nThis package provides a *translation string* class, a *translation string\nfactory* class, translation and pluralization primitives, and a utility that\nhelps `Chameleon <https://chameleon.readthedocs.io/en/latest/>`_ templates use\ntranslation facilities of this package.  It does not depend on `Babel\n<http://babel.pocoo.org/en/latest/>`_, but its translation and pluralization\nservices are meant to work best when provided with an instance of the\n``babel.support.Translations`` class.\n\nPlease see https://docs.pylonsproject.org/projects/translationstring/en/latest/\nfor the documentation.\n\n\ntranslationstring\n=================\n\n1.4 (2020-07-09)\n----------------\n\n- Drop support for Python 2.6, 3.2 and 3.\n- Update license classifiers\n\n\n1.3 (2014-11-05)\n----------------\n\n- Fix Python 3-specific test failures.\n\n- Restore compatibility with Python 3.2.\n\n1.2 (2014-11-04)\n----------------\n\n- Add support for message contexts.\n\n- If the object passed to a TranslationStringFactory ``__call__`` method is\n  itself a translation string, use the passed object's ``domain`` instead of\n  the domain passed to the factory's contstructor.  See\n  https://github.com/Pylons/translationstring/pull/12 .\n\n\n1.1 (2012-02-08)\n----------------\n\n- Add MANIFEST to make sure all files are present in a release. This fixes\n  `ticket 8 <https://github.com/Pylons/translationstring/issues/8>`_.\n\n\n1.0 (2012-02-04)\n----------------\n\n- coerce non-string values to a string during translation, except for None.\n\n- Honour mapping information passed to the translator, combining it with\n  mapping data already part of the translation string.\n\n- Support formatting of translation strings with %-operator.\n\n0.4 (09-22-2011)\n----------------\n\n- Python 3 compatibility (thanks to Joe Dallago, GSOC student).\n\n- Remove testing dependency on Babel.\n\n- Moved to GitHub (https://github.com/Pylons/translationstring).\n\n- Added tox.ini for testing purposes.\n\n0.3 (06-25-2010)\n----------------\n\n- Preserve default translations even if they are an empty string. This\n  fixes problems with Chameleon being unable to determine if a translation\n  is present or not.\n\n0.2 (04-25-2010)\n----------------\n\n- Add ``__getstate__`` and ``__reduce__`` methods to translation\n  string to allow for pickling.\n\n- Fix bug in ChameleonTranslate.  When ``i18n:translate`` was used in\n  templates, a translation string was inappropriately created with a\n  ``default`` value of the empty string.  Symptom: template text would\n  \"disappear\" rather than being returned untranslated.\n\n0.1 (04-24-2010)\n----------------\n\n- Initial release.\n\n\n",
    "bugtrack_url": null,
    "license": "BSD-like (http://repoze.org/license.html)",
    "summary": "Utility library for i18n relied on by various Repoze and Pyramid packages",
    "version": "1.4",
    "project_urls": {
        "Homepage": "https://github.com/Pylons/translationstring"
    },
    "split_keywords": [
        "i18n",
        "l10n",
        "internationalization",
        "localization",
        "gettext",
        "chameleon"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3b9836187601a15e3d37e9bfcf0e0e1055532b39d044353b06861c3a519737a9",
                "md5": "95481a8f9ca255057140f0e1724b6cc6",
                "sha256": "5f4dc4d939573db851c8d840551e1a0fb27b946afe3b95aafc22577eed2d6262"
            },
            "downloads": -1,
            "filename": "translationstring-1.4-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "95481a8f9ca255057140f0e1724b6cc6",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 15028,
            "upload_time": "2020-07-09T11:58:30",
            "upload_time_iso_8601": "2020-07-09T11:58:30.995187Z",
            "url": "https://files.pythonhosted.org/packages/3b/98/36187601a15e3d37e9bfcf0e0e1055532b39d044353b06861c3a519737a9/translationstring-1.4-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "143932325add93da9439775d7fe4b4887eb7986dbc1d5675b0431f4531f560e5",
                "md5": "ebb411e1d6bc0d3397acd8002a7f9daf",
                "sha256": "bf947538d76e69ba12ab17283b10355a9ecfbc078e6123443f43f2107f6376f3"
            },
            "downloads": -1,
            "filename": "translationstring-1.4.tar.gz",
            "has_sig": false,
            "md5_digest": "ebb411e1d6bc0d3397acd8002a7f9daf",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 24199,
            "upload_time": "2020-07-09T11:58:32",
            "upload_time_iso_8601": "2020-07-09T11:58:32.041458Z",
            "url": "https://files.pythonhosted.org/packages/14/39/32325add93da9439775d7fe4b4887eb7986dbc1d5675b0431f4531f560e5/translationstring-1.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2020-07-09 11:58:32",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Pylons",
    "github_project": "translationstring",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "translationstring"
}
        
Elapsed time: 0.17707s