Get link for same page in different language I want to display a link to the spanish version of a page in my template, but another module is removing the language option on my link function:

l('Visit this page in Spanish', "node/{$node-&gt;nid}", array( 'language'=&gt;'es' ));


I have the general routing set up the way I want; most of the time I want links to target the current language.  Except this time - now I really want that link in spanish : )

How do I force l() to keep the language I specify?  Or should I use another function?
It should work when using this function: https://api.drupal.org/api/drupal/modules!translation!translation.module/function/translation_node_get_translations/7

This will return all the translations of a given nid, when an ES translation is given you can print your l().