multilingualplone
by
Olha Pelishok
—
last modified
2009-04-27
Released on 2009-04-27 under LGPL - GNU Lesser General Public License available for All platforms.
- multilingualplone download link: http://code.google.com/p/multilingualplone/downloads/list
- Homepage of multilingualplone: http://code.google.com/p/multilingualplone/
- multilingualplone repository: http://multilingualplone.googlecode.com/svn/trunk/plone.app.multilingual
- Description source: http://multilingualplone.googlecode.com/svn/trunk/plone.app.multilingual/trunk/plone/app/multilingual/README.txt
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')