I have a drupal English/French website. I have a custom content type called 'ad' with all sort of fields. I have created the file 'node--ad.tpl.php' in my theme directory to customize the display of the 'ad' content. I use pixture reloaded theme and DRUPAL 7. In node--ad.tpl.php fields are displayed with this code: print render($content['field_my_field_name']);
I am trying to translate fields (both labels and values) by using 'field translation' module.
Field translation works when I CREATE or MODIFY a content via admin.
However, when I DISPLAY a content of type 'ad', fields are not translated. This is because drupal calls to 'node--ad.tpl.php' and the translation module is probably not invoked. When deleting 'node--ad.tpl.php', drupal calls the default node.tpl.php with a similar results.
Any help would be appreciated, Thanks in advanced,
- I correctly activated every dependencies for the module.
- User interface translation correctly works.