I have seen that a multilingual patch has been proposed for the 6.x version of this module. However, is there anyway to do the same for 5.x ? If there is no patch available, maybe somebody knows a trick to display a custom breadcrumb according to the language used in the site. For instance, I have an english and a french version of a site, and I would like to have something like home::news:xxxxxx for english news and Accueil::actualité::xxxxxx for the french translations of my news. Does anybody have any idea ? Thank you in advance for your comments/advices/help. Hope there is a way to do that, otherwise I will have to reconsider the use of this module (and this would be very very very bad for my project...).

Comments

boaz_r’s picture

Status: Active » Closed (duplicate)

See suggested patch offered in issue #219289

you can also change line 52 of custom_breadcrumbs (v5.x-1.2), line 52 to instead of:
$titles = module_exists('token') ? token_replace($titles, 'node', $node) : $titles;
to:

if (module_exists('token')) {
		token_replace($titles, 'node', $node);
}
else {
       foreach ($titles as $key => $value) {
              $titles[$key] = t($value);
       }
}