Posted by shushu on February 19, 2009 at 9:41am
Jump to:
| 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
Patch attached ontop of the dev version
#2
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
While I'm not crazy about a temporary solution, I have put it in for 6.x.
#9
Automatically closed -- issue fixed for 2 weeks with no activity.
#10
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);