Reputation: 27023
I'm building a multi-lingual website using drupal 7.
Now, I'm in the process of adding a link manually that links back to site's default language from the alternate language.
E.g. from "mysite.com/fr" I want to build a link that links to "mysite.com/"
How can do that using the l() function ?!
Upvotes: 3
Views: 258
Reputation: 27023
Okay, figured it out.
I had to use language
inside the $options array inside the l()
function.
Upvotes: 3