Project:Taxonomy Image
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:shushu
Status:active

Issue Summary

While using taxonomy_image the HTML alt is not being translated.
To make the module more multi-language oriented, it is required.

Just t() the $current->title in taxonomy_image_display...

Regards,
Shushu

Comments

#1

Version:6.x-1.5» 6.x-1.x-dev
Status:active» needs review

Patch attached ontop of the dev version

#2

Status:needs review» active

It may or may not work; that is not considered proper use of the t() function and may break the template extraction.

#3

I also think maybe I need to get with the i18n folks and see if perhaps their taxonomy interface is a better way to handle this.

#4

my 2cents: AFAIK in i18n module is present a "tt()" function for taxonomy-translation.
Give it a look..

#5

Have they actually started documenting i18n?

Where is tt() documented?

#6

I don't know about a "complete" i18n documentation, someone in IRC suggested me fot tt() for user-input strings and taxonomy terms translation.

Take also a look to : http://groups.drupal.org/node/15177
Regards

#7

Well, I see how it could be used, but there is no answer to the over-arching question on that group.

#8

Status:active» fixed

While I'm not crazy about a temporary solution, I have put it in for 6.x.

#9

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

#10

Category:feature request» bug report
Status:closed (fixed)» active

Alt is not translated in views, title is ok with term description with last dev.

#11

$current->name is never set to translate version : taxonomy_image_tt("taxonomy:term:$current->tid:name", $current->name);

nobody click here