You are here: Home / LBN / Up2date / Plone and Zope / BastionLinux 19 / plone.multilingualbehavior-1.2-1.lbn19.noarch

plone.multilingualbehavior-1.2-1.lbn19.noarch

Package Attributes
RPM  plone.multilingualbehavior-1.2-1.lbn19.noarch.rpm Architecture  noarch Size  95588 Created  2019/09/30 06:51:46 UTC
Package Specification
Summary Dexterity behavior for enabling multilingual extensions
Group Application/Internet
License ZPL
Home Page http://pypi.python.org/packages/source/p/plone.multilingualbehavior/plone.multilingualbehavior-1.2.tar.gz
Description

plone.multilingualbehavior adds multilingual behavior to content types built with Dexterity. It uses the next generation multilingual engine powered by five/Zope3 technologies, plone.multilingual.

The behavior provides the Dexterity-driven content with a marker interface "ITranslatable", and makes available to that translation enabled type all the translation UI components such as menus, views, etc...

To make your Dexterity content type translatable, add the following line to the section in your type's profile:

plone.multilingualbehavior implements language independent fields. The content of language independent fields is the same across all language versions. This is convenient, but also a little dangerous, because editing the field on any language version will change the content on all other language versions.

For details on how to make fields language independent, see the examples in the test folder. tests/schemata.py shows how to make fields language independent when using the Grok framework; tests/samplecontent_type.xml shows how to achieve the same thing in an xml file. It is also possible to set a field to be language independent through the web, given a sufficiently new version of plone.schemaeditor.

Requires
rpmlib(PayloadFilesHavePrefix)  
rpmlib(FileDigests)  
/bin/sh  
rpmlib(CompressedFileNames)  
rpmlib(PartialHardlinkSets)  
rpmlib(PayloadIsXz)  
Provides
plone.multilingualbehavior

Document Actions