Hello,

first thanks for this great module!

But what bugs me is the fact that in 7.x-3.0 branch the home link title is NOT translated.

When I look into the code of 7.x-2.0-beta17, there clearly is:
$breadcrumb[] = l(t($home), '<front>');

But in 7.x-3.0-beta3 I see just:
$breadcrumb[] = l($home, '<front>');

So the t() function is not applied and the home link title is therefore forever only "Home" (or what I set in the module settings) no matter the language.

Comments

kalabro’s picture

Category: bug » support
Status: Active » Closed (works as designed)

Hello, @jedik!
It is not safe to translate dynamic strings with t() function.
To translate Home link you have to use i18n_variable module from http://drupal.org/project/i18n package.

i18n and Path breadcrumbs home link

Related #1645360: Do not use t() function for translating dynamic strings.

jedik’s picture

Thanks for the support, kalabro, I'll look into that.