Skip to content
Browse files

Merge pull request #1 from jonathanlewis/master

Moved and expanded README.txt
  • Loading branch information...
2 parents e5637b9 + 4012884 commit 4c0939a3bd4ff95e83c0046473d0b2c65126d05f @bloodbare bloodbare committed Mar 23, 2012
Showing with 27 additions and 19 deletions.
  1. +27 −2 README.txt
  2. +0 −17 plone/multilingualbehavior/README.txt
View
29 README.txt
@@ -1,4 +1,29 @@
-Introduction
-============
+============================
+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)
View
17 plone/multilingualbehavior/README.txt
@@ -1,17 +0,0 @@
-============================
-plone.multilingualbehavior
-============================
-
-Initial work on the implementation of the multilingual dexterity behavior. It uses the next generation multilingual engine powered by five/Zope3 technologies, plone.multilingual.
-
-The behavior will provide the dexterity driven content with a marker interface "ITranslatable", and make avaliable to that translation enabled type all the translation UI components such menus, views, etc...
-
-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)

0 comments on commit 4c0939a

Please sign in to comment.
Something went wrong with that request. Please try again.