Translate argument title

Events happening in the community are now at Drupal community events on www.drupal.org.
shushu's picture

When using Term argument the handler is views_handler_argument_string.
There, the title() is not being translated.
It is a very small fix to make it work, but of course "hacking" the handler is probably not a good idea.

What do you think should be the "right" solution ?
Create a new handler - views_handler_argument_translated_string - won't be enough, since I will need to change taxonomy.views.inc to point to the new handler...

Thanks,
Shushu

Comments

You can override taxonomy fields handlers

NickSI's picture

You can use to hook_views_data_alter(&$data) in order to change view fields definition provided by other modules. Instead of adding completly new field to existing table definition (as it is shown in most examples) you can just replace handlers for already declared fields.

Views Developers

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: