Search code examples
multilingualplonelinguaplone

switchLanguage does not load translated item using LinguaPlone


I am still struggling getting LinguaPlone to work.

I have set up two language root folders /de (for German) and /en using /@@language-setup-folders. I've created two folders, /de/texte/ and /en/articles and defined the latter as translation of the former.

In portal_languages in the ZMI I have set:

  • Allowed languages: English, German
  • Negotiation Scheme: [x] Use cookie for manual override
  • all other options are unchecked

I do get a language selector rendered, but when I click on "English", which calls /de/texte/switchLanguage?set_language=en, I get an English UI, but the location is still /de/texte.

And even though the breadcrumbs say You are here: Home › texte, Home actually still points to /de instead of /en.

I've searched the web, but apart from some older rant on LinguaPlone I could not find what I've been possibly missing.

How do I configure LinguaPlone to actually load the linked translation when switching languages?

Edit:

  • Plone 4.0.2
  • Zope 2.12.13
  • LinguaPlone 4.0

Solution

  • The reason for this behaviour is that LinguaPlone 4.0 is not compatible with the "Plone Classic Theme" on Plone 4.0.2.

    Switching to the "Sunburst Theme" solves the problem: the language selector links point to the correct URIs then.