translationstring

Software Screenshot:
translationstring
Software Details:
Version: 1.1
Upload Date: 14 Apr 15
Distribution Type: Freeware
Downloads: 2

Rating: 1.0/5 (Total Votes: 1)

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.

What is new in this release:

  • Add MANIFEST to make sure all files are present in a release. This fixes ticket 8.

What is new in version 1.0:

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

What is new in version 0.4:

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

What is new in version 0.3:

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

What is new in version 0.2:

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

Requirements:

  • Python

Similar Software

Pytho
Pytho

3 Jun 15

speaklater
speaklater

20 Feb 15

PHP Net_IDNA
PHP Net_IDNA

11 May 15

Other Software of Developer Agendaless Consulting

compoze
compoze

14 Apr 15

repoze.workflow
repoze.workflow

14 Apr 15

repoze.who
repoze.who

11 May 15

repoze.urchin
repoze.urchin

11 May 15

Comments to translationstring

Comments not found
Add Comment
Turn on images!