Posted by FJ_Sanchez on October 11, 2009 at 12:37am
Jump to:
| Project: | Custom breadcrumbs |
| Version: | 6.x-2.0-beta1 |
| Component: | custom_breadcrumbs |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (won't fix) |
| Issue tags: | locale |
Issue Summary
Actually if you use tokens in the titles of a custom breadcrumb, it doesn't get translated even when it already has a translation in the default language of the site. I think it should use the t() function after resolving the tokens.
Comments
#1
t() can only be used for static strings - it can't be used for variables or any user input. I think you need to look into i18n providing localized tokens (which could then be used in custom breadcrumbs). Search the issue queue and you'll pick up the trail.
Here is a possibly related issue #290421: Support localized taxonomy (i18n)
Marking this as won't fix since there really isn't anything I can do with this.