Skip to main content

Dexterity behavior for enabling multilingual extensions

Project description

============================
plone.multilingualbehavior
============================

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 <!-- enabled behaviors --> section in your type's profile:

<!-- enabled behaviors -->
<property name="behaviors">
<element value="plone.multilingualbehavior.interfaces.IDexterityTranslatable" />
</property>

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.


Dependencies
------------
plone.multilingual (Core and base implementation)
plone.app.multilingual (Multilingual configlet, menu and global views)

Contributors
------------
Ramon Navarro (ramon.nb@gmail.com)
Víctor Fernández de Alba (sneridagh@gmail.com)

Changelog
=========

1.0b1 - 2012-4-3
----------------

- Schema editor plugin to enable language indepedent fields TTW [ramon]
- Language independent field implementation [ramon]
- Supermodel, grok and native language independent field markers [ramon]
- ILanguage implementation [awello]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plone.multilingualbehavior-1.0b1.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

plone.multilingualbehavior-1.0b1-py2.7.egg (34.2 kB view details)

Uploaded Source

File details

Details for the file plone.multilingualbehavior-1.0b1.tar.gz.

File metadata

File hashes

Hashes for plone.multilingualbehavior-1.0b1.tar.gz
Algorithm Hash digest
SHA256 5365c1849886fb603494f9135370a9c73f940bce90ee04ab3f41a168a894fb8c
MD5 f8cef02d9d8221fd29f7091723734d21
BLAKE2b-256 a1e3d4a463a508f48c036fb78886fca085ad23aac3b75067981648f58028a8fa

See more details on using hashes here.

File details

Details for the file plone.multilingualbehavior-1.0b1-py2.7.egg.

File metadata

File hashes

Hashes for plone.multilingualbehavior-1.0b1-py2.7.egg
Algorithm Hash digest
SHA256 c5cce4a597265631fb670780148667796684c64485c0007e4aceb9f990360a95
MD5 a4d0e16bde41f09fe73507901eb688ab
BLAKE2b-256 10f9d4c6b8851d1cc7eb57db76889e404b34c5991713dc280fb8014a69fddc70

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page