-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Plone 3 Products Development Cookbook
In Creating a model (Chapter 3), we saw how to create Archetypes-based content types with a code generator named ArchGenXML. When we did this, we omitted, knowingly, any reference to automatic internationalization support, which this tool supplies.
Let's look at it now.
We are going to use the poxContentTypes.zargo file which is available for download, corresponding to the UML model we created in the aforementioned recipe. So, if you didn't create it, get it from this book's web page.
In this section, we'll use the PTS approach by using an i18n folder.
We could actually leave our UML model as it is and still enjoy the benefits of ArchGenXML regarding i18n support. However, let's add some options to the XNewsItem content type to supply a better example.
Add tagged values for i18n support: As you can see in the following screenshot, we can define the widget:label and widget:description tagged values, which are already available with AGXProfile...
Change the font size
Change margin width
Change background colour