How can I translate block titles ?

Should I find tranlsate it as an admin variable like for the title of the site ? If so How can I find the name of each variable ?

Thanks

Comments

dregster’s picture

Did you figure out a solution? I don't think this is an issue per se, but would also like to figure this out. Maybe there's a snippit available.

I know the block titles are set in the .module files, and you can remove or replace the default titles using the block configuration.

Sepulman’s picture

Status: Active » Closed (fixed)

You should not translate as an admin variable;
I believe the current procedure is the following;
If the block is created by you, such as a navigational block, you'll simply have to duplicate the block, set the language and translate the contents and block title.
If the block is created by a module you'll have to use the i18n strings module to look for the untranslated (english) string and provide translation(s), an alternative would be to translate and contribute back a .po file for your language.

Good luck

julma’s picture

Thanks,
That is it. It works, it is not easy to understand though, maybe the UI could be improved in the futur.