5a6,7 > global $language; > 21a24,30 > > // check if node has a translation, if yes, set the translation in the current language as $node > if ($node->tnid) { > $translations = translation_node_get_translations($node->tnid); > $node = node_load($translations[$language->language]->nid); > } >