Closed (fixed)
Project:
Internationalization
Version:
4.6.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
30 Nov 2005 at 19:18 UTC
Updated:
21 Jan 2006 at 07:58 UTC
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
Comment #1
Marc Bijl commentedNot 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...
Comment #2
jose reyero commentedI've just committed a small module for block switching on language
Comment #3
drupalxykon commentedlink?
Comment #4
drupalxykon commentedfound it
http://cvs.drupal.org/viewcvs/drupal/contributions/modules/i18n/i18nbloc...
Comment #5
Marc Bijl commentedAllright, it seems to be there. But it seems to be a "dead file". Does anyone know what that means?
Comment #6
jose reyero commentedThe 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...
Comment #7
dries commented