Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install plone.multilingualbehavior

How to install plone.multilingualbehavior

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install plone.multilingualbehavior
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
1.1 Available View build log
1.0b1 Available View build log
0.2b3 Available View build log
0.1a1 Available View build log
Windows (64-bit)
1.1 Available View build log
1.0b1 Available View build log
0.2b3 Available View build log
0.1a1 Available View build log
Mac OS X (10.5+)
1.0b1
1.1Never BuiltWhy not?
1.0b1 Available View build log
0.2b3 Available View build log
0.1a1 Available View build log
Linux (32-bit)
1.1 Available View build log
1.0b3 Available View build log
1.0b1 Available View build log
0.2b3 Available View build log
0.1a1 Available View build log
Linux (64-bit)
1.1 Available View build log
1.0b3 Available View build log
1.0b1 Available View build log
0.2b3 Available View build log
0.1a1 Available View build log
 
License
GPL
Lastest release
version 1.1 on Jul 4th, 2013

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.

For more information, please visit: https://github.com/plone/plone.app.multilingual

Please report any bugs or feature requests to our issue tracker.

Dependencies

Contributors

Changelog

1.0 - 2013-04-16

  • Removing ITG usage to ITranslationManager [pysailor]
  • Added a test for adding multilingual behavior through the web [pysailor]

1.0rc1 - 2013-01-26

  • Adding relationfield to test profile [ramon]
  • PEP8 cleanup [saily]
  • Correct import and add new dependency for plone.supermodel.model because plone.directives.form 2.0 does no longer depend on grok. [saily]

1.0b3 - 2012-10-04

  • Added tests [sneridagh]
  • Cleaning subscribers [ramon]

1.0b2 - 2012-7-9

  • Enable Realtedfields copying the correct translated item when is language independent [ramon]
  • Handle case of behaviors where attributes have never been set [do3cc]

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]

Subscribe to package updates

Last updated Jul 4th, 2013

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.