$Id: custom_breadcrumbs.module,v 1.5.2.2 2007/02/21 01:43:53 eaton Exp $
line 59
-- $trail[] = l($title, trim($paths[$i]));
++ $trail[] = l(t("$title"), trim($paths[$i]));

I cannot find another way to translate "static" (not tokens) words in breadcrumb trail.

Comments

eaton’s picture

Title: Translation of titles » Multilingual support
Status: Active » Postponed

Hmm. This is actually a misuse of the t() function, which is only intended to be used with hard-coded text in modules, not user-entered text like the stuff in Custom Breadcrumbs. In the D6 branch I may try to explore multi-lingual support as an explicit feature (ie, allow the same breadcrumb to be defined in specific languages), but using t() to accomplish it would probably be a bad thing.

david lesieur’s picture

Status: Postponed » Closed (duplicate)