Language dependant html tags - like alt and title

Boletus - June 26, 2008 - 13:11
Project:Language Sections
Version:6.x-1.4
Component:User interface
Category:feature request
Priority:normal
Assigned:Boletus
Status:closed
Description

Hi!
This is a very smart module! Congrats for being the one to cook it up! :)

I wonder, does this work inside html tags? It would be beautiful to have language dependant title and alt tags for an image.

#1

Boletus - June 26, 2008 - 13:16
Assigned to:Anonymous» Boletus
Status:active» closed

Darn! :D It actually worked right out of the box! Happy happy happy! :)

#2

netgenius - June 26, 2008 - 13:39

I was going to say that it should work, even though I hadn't tried, but too late :)

I think it should work in most situations, though you may need to tweak the order of filters in special cases. The thing most likely to cause a problem is if some other filter in the chain does something with the === markers, in which case you should be able to solve it by setting up the "alternative pattern" in the config.

> It would be beautiful to have language dependent title and alt tags for an image.

I hadn't thought of that!

Thanks for the feedback.

 
 

Drupal is a registered trademark of Dries Buytaert.