You are not logged in Log in Join
You are here: Home » Members » efge » TranslationService

Log in



Folder icon TranslationService


TranslationService is a placeful translation service for Zope 2.6 and Zope 2.7.

It allows you to have fully functional internationalization from Page Templates using the standardized i18n tags. See the ZPT internationalization wiki for more details on the syntax.

This product does:

  • Plug into Zope's i18n framework and provide itself as the global translation service for ZPT.
  • Redirect translations to appropriate message catalogs depending on their domain, in a configurable manner.

Currently there is only one message catalog implementation provided, which is based on Localizer 1.0.1's MessageCatalog. In the future it will be easy to create additionnal message catalogs, for instance one based on a plain filesystem .po or .mo file.


  • Use Zope 2.6 or more recent.
  • Install TranslationService.
  • Install Localizer 1.0.1 (do not use the 1.1 branch of Localizer, it is not supported and will not work).


  • Create a Localizer Message Catalog.
  • Create a Translation Service. It must be called translation_service.
  • Configure the translation service so that the path to the Localizer Message Catalog is provided for the i18n domain(s) you need. A Default domain can be used as a catch-all.

That's it! You should now be able to use i18n tags in Page Templates.


  • Compatible with Zope 2.7.
  • Don't bomb if an interpolation string has an unknown ${substitution}, just leave it in the resulting string.
  • Don't bomb if a non-ASCII string is passed as a substitution, try to infer its encoding from the output encoding (which will be the case if the string is issued from Localizer).
  • This product used to be known as PersistentTranslationService.
  • Now fully use the Zope 2.6 framework.


TranslationService is developped by Florent Guillaume at Nuxeo .

 Title   Type   Size   Modified   Status 
 0.1 Edit object Software Release   2002-09-10 published
 0.2 Edit object Software Release   2002-10-13 published
 0.3 Edit object Software Release   2003-02-02 published
 0.4 Edit object Software Release   2003-06-17 published
 Persistent Translation Service 0.1: i18n your ZPTs now! Edit object News Item 1 K 2002-09-11 published
 Translation Service 0.2: i18n for ZPT Edit object News Item 1 K 2002-10-19 published