I have set up a list(text) field with translated content.

In display admin interface (admin/structure/types/manage/***/display), I have set up it to "Default translated" in "format" column. Then if I display the node, the options are well translated.

But when I try to load this field programmatically, I have always the main language displayed (instead the translation).

Here is the way I proceed.

$specialisations = field_view_field('node', $node_object, 'field_sp_cialisations_liste', array('type' => 'i18n_list_default','label' => 'hidden'));


1 Answer 1


You can pass $langcode parameter in field_view_field function

  • Thanks for answer, but unfortunately this is not working too: $specialisations = field_view_field('node', $node_object, 'field_sp_cialisations_liste', array('type' => 'i18n_list_default','label' => 'hidden'), $langcode = 'fr');
    – 118218
    Jun 19, 2015 at 12:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.