You are here: Home / Development / Plone / Configuration / Translate portlets and homepage of a site with LinguaPlone

Translate portlets and homepage of a site with LinguaPlone

by Pierre-Yves Landuré last modified Dec 21, 2011 10:46

The LinguaPlone product enable the creation of multilingual sites with Plone. Although simple to implement, its default configuration has to be finalized. This article helps to set up LinguaPlone on a Zope / Plone site.

This howto is tested on:

  • Plone 4.1.3
  • LinguaPlone 4.1.1

Prerequisites

This howto need the Products.LinguaPlone add-on to be enabled on the site.

You must configure the available langages with the langages configuration panel ( @@language-controlpanel )

Configuration

The following change the site structure:

  • For each langage available on the site, a folder is created at the root of the site (en, fr, es, etc...).
  • The site homepage become the current langage specific folder homepage.

If the site has existing contents, it will be necessary to move it in the folder specific to its language.

Finish the LinguaPlone installation by loading the page @@language-setup-folders
http://localhost:8080/Plone/@@language-setup-folders (URL example)

If you want, clean the site structure by deleting "News", "Events" and "Users" folders.

To set-up language specific portlets, go to the language specific folder and create your portlets in this folder.

To set-up language specific homepage, select the default content for the language specific folder.

Thanks