translate alt

shushu - February 19, 2009 - 09:41
Project:Taxonomy Image
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:shushu
Status:closed
Description

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

#1

shushu - February 19, 2009 - 09:51
Version:6.x-1.5» 6.x-1.x-dev
Status:active» needs review

Patch attached ontop of the dev version

#2

NancyDru - February 27, 2009 - 23:17
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

NancyDru - March 1, 2009 - 19:27

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

thePanz - March 9, 2009 - 17:57

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

#5

NancyDru - March 9, 2009 - 19:51

Have they actually started documenting i18n?

Where is tt() documented?

#6

thePanz - March 9, 2009 - 21:01

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

NancyDru - March 10, 2009 - 01:23

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

#8

NancyDru - March 13, 2009 - 17:16
Status:active» fixed

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

#9

System Message - March 27, 2009 - 17:20
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.