I understand this is a Hot Topic!

I've read tons of documentation but still haven't found an easy way of having specific blocks (e.g. of german content) shown when a language (e.g. german) is selected by a user.

I tried to create blocks with localised content and show them and only them only in 'de/*' pages, using the 'Show on only the listed pages.' option. The problem is that it doesnt work.

Can anyone give me an easy to understand advice?

Comments

Marc Bijl’s picture

Not easy to understand (in fact I've been told that my solution might be a bit too complex :-D), but I managed to do it using flexinode, i18n.module and home made custom blocks (php).

I have a multilanguage (bilingual) site with in the sidebar on the homepage some actual links, and in the sidebar on the other pages some portfolio links. For your imagination, you can see the site here:

The way I managed to do this can be found in this post: http://drupal.org/node/37118. Hope it helps. But as said before, it's not easy to understand, and probably way too complex...

jose reyero’s picture

Status: Active » Fixed

I've just committed a small module for block switching on language

drupalxykon’s picture

link?

Marc Bijl’s picture

Allright, it seems to be there. But it seems to be a "dead file". Does anyone know what that means?

jose reyero’s picture

The file is there, and it's a new module you have to enable.

You can get the latest tar.gz or get only the .module file from cvs, this is the right link:

http://cvs.drupal.org/viewcvs/*checkout*/drupal/contributions/modules/i1...

dries’s picture

Status: Fixed » Closed (fixed)