You are here: Home Plone products multilingualplone

multilingualplone

1
by Olha Pelishok last modified 2009-04-27
0.0
0.0
0.0
0.0
Released on 2009-04-27 under LGPL - GNU Lesser General Public License available for All platforms.
Plone Multilingual module

A module to add multilingual features to plone sites. This module creates a BTree utility where all the translation groups are stored and they are related to the different objects using plone.relations.

Translation Engine Design

  • No neutral lenguage by default, a document is in one language by default ( the default language ). Neutral language is ''
  • The translations are stored on a local utility installed by Install.py

Usefull code

  • Getting the translation group of an object
    • from plone.app.multilingual.interfaces import ITranslationGroupLookup
    • translationgroup = ITranslationGroupLookup(object, None)
  • TranslationGroupLookup can raise an exception : NotTranslatable
  • Getting a language translation of a translationgroup. translationgroup.getTranslation('es')



Document Actions
Powered by Plone