Posted by fabianderijk on September 16, 2011 at 8:31am
This project adds a function to drupal which returns a link to a translated page. When given the source node id of the node, the function creates the link based on the current language, or the language given to the function. When no translation is found, the source can be returned OR FALSE is returned.
Usage of this module is as followed:
<?php
print translated_link_l(t('Link text'), '1', array('attributes' => array('class' => 'more-btn')));
?>This module is sponsored by TDC Lighthouse