Token translation when available

FJ_Sanchez - October 11, 2009 - 00:37
Project:Custom Breadcrumbs
Version:6.x-2.0-beta1
Component:custom_breadcrumbs
Category:feature request
Priority:normal
Assigned:Unassigned
Status:won't fix
Issue tags:locale
Description

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.

#1

MGN - October 11, 2009 - 01:05
Status:active» won't fix

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: When i18n is installed support localized taxonomy

Marking this as won't fix since there really isn't anything I can do with this.

 
 

Drupal is a registered trademark of Dries Buytaert.