Plone3 で多言語コンテンツを管理

ページ単位で対訳を作るのでなければ,LinguaPloneを使わなくてもいい.

Plone2.5では,言語管理はPloneのサイト設定でできたが,Plone3からZMIでやるようになったみたい.
/portal_languages にアクセスして,"Allowed languages" で,EnglishとJapaneseを選択.
さらに,"Negotiation Scheme"で,下記にチェックを入れる


1.Use the language of the content item. Note: This does not work when using virtual hosting other than for the Plone site itself.
2.Use language codes in URL path for manual override.

これで,日本語に設定したフォルダの中身は日本語で,英語に設定したフォルダの中身は英語で表示される.(Plone2.5では,プロパティの言語も変更されたはずだが,「中立」になってる.これはまたあとで見る)

言語セレクタが表示されるようになるので,邪魔なら,viewlet.xmlで,下記の行をhiddenに入れてしまえばおk.