translationstring

Utility library for i18n relied on by various Repoze packages
Download

translationstring Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Price:
  • FREE
  • Publisher Name:
  • Agendaless Consulting
  • Publisher web site:
  • http://www.repoze.org

translationstring Tags


translationstring Description

Utility library for i18n relied on by various Repoze packages translationstring is a Python library used by various Repoze 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 templates use translation facilities of this package. It does not depend on Babel, but its translation and pluralization services are meant to work best when provided with an instance of the babel.support.Translations class.Please see http://docs.repoze.org/translationstring or the docs/index.rst file in this package for the documentation. Requirements: · Python What's New in This Release: · 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.


translationstring Related Software