You are here: Home Plone products Products.PlacelessTranslationService

Products.PlacelessTranslationService (2.0.2)

by cms last modified 2010-10-29
Released on 2010-10-27 by Hanno Schlichting for Plone 3.0, Plone 3.1 under GPL - GNU General Public License available for All platforms.
Software development stage: stable
A placeless (meaning, zope-wide) service responsible for providing translations to messages

Placeless Translation Service is, er, a translation service. It's a zope-wide service, which reads "PO" format files containing translations for messages, and provides these translations to Zope software when requested.

It's most usually called from ZPT, by means of the "i18n:" family of TAL directives, but it's also possible to call it from DTML or to import it inside a Python Script or even Page Template.

The Product currently also contains Negotiator, a module designed to perform HTTP content negotiation by use of "accept*" style headers, respecting quality factors. PTS uses Negotiator for negotiating languages using the "accept-language" header.

Document Actions
Powered by Plone