I have really stupid question: HOWTO translate block with Localizer module ? I searched everywhere ... (in my drupal installation, on drupal.org..) I have module "Localizer block" enabled of course... When I am adding block, there is a menu with languages, but it doesn't work - I still can't create working translation. What about simply guide? :-| THX !!!

My friend told me about "multilingual blok" but i don't see it anywhere...

Comments

vikingew’s picture

I must say I don't know/understand how this works with blocks provided by modules, but for custom blocks it works.

  1. Click Add Block tab and create first block e.g. in english text. To keep order I always start block name with locale like en_ and then have rest the same in english for all block groups.
  2. Now your block will be listed in Disabled group. Click "Configure" to the right of block name. On next page select "English" for language (or "Any" to show block in all languages). Also other settings will decide where block shows. Save Block.
  3. Add new block as above but now in new language (translated) text and save.
  4. Again click "configure" link and on next page select language (and other settings) and save block.
  5. Now on main page select in which region you want your blocks to show and click save blocks. Done!
PEpe’s picture

I followed your steps, but there are display both blocks together - "english block" and "czech block" - and it does not matter in which language I am switched. (I created "english block", save, click "configure", select "English", save ... and the same with "czech block" - exactly your steps). Maybe bug?

vikingew’s picture

Hmm strange, it works for me... I have just started to work with Localizer today so I am no expert, but maybe something else is interfearing. Which more modules do you have installed? I have 80+ modules so it shouldn't really be a problem but maybe you have something very block related which I don't have or you have it wrong somewere else.

I assume you are using latest dev release as set above, but have you also done all steps in install, like overlay files and settings.php for cache? How have you set the rest in block configuration?

weedoo’s picture

Title: HOWTO translate block » Same thing here

Hello, I have the exact same problem. I did a web site with drupal 5.1 and there were no problems, now I changed to 5.2 for a new site I am working on, and I cannot get a block to switch from on to off depending on the current locale. If anyone has an answer, post it please!

edinjapan’s picture

This works fine when the steps posted by yettyn are followed for Drupal 5.2 and Localizer 1.10.
By the way, when you go from Drupal 5.1 to 5.2, you have to overwrite the Localizer patches inside the sites/all/modules/localizer directory with the "new" ones for 5.2.

whoey’s picture

any estimate when 5.3 files will be ready?

or is there somewhere we can find out what needs patching to make our own 5.3 core patched?

Roberto Gerola’s picture

> any estimate when 5.3 files will be ready?
In a couple of days.

Roberto