Hello all, i have a little question :

- I have a website with some languages enabled (example : french and english)
- I create a page node in english and set the url alias to : home
- I create a translation of this page in french and set the url alias to : accueil
- Now i want a block which is displayed on this page and all translations of this page, so i set the visibility to :

home
accueil

But on each language i will add, i need to add the translated path on the visibility block, there is no other technics or settings to set visibility of a block for a path which will check translated path regarding current language (without php code) ?

Thank you

Comments

xmacinfo’s picture

I've set up an English/Français web site with block displaying properly in their language.

I fail to see exactly what you want to do. Are you using bare bone Drupal 6 only or did you install the internationalization module as well? Do you want your block to show everywhere or only for some languages?

sinasquax’s picture

I just want to setup a block which is displayed to only one page (and all translations of this page), so i set in the visibility block the path of the page but i need to add path of translated pages also.

So i want to know if there is a way to set up the visibility of a block in a page and all of these translations without add for each language the path of translated page.

Internationalization is installed and i want to show the block in all languages.

Nexsoft’s picture

Looking for the same thing. It would be nice with a feature like block visibilty per translation set. Anyone who have any suggestions here?

bearstar’s picture

Set your Detection method to URL at /admin/config/regional/language/configure and make sure the translated node number is entered in the block's visibility settings (each language node id needs to be listed).