I use entity_translation to translate node body field, so in a fully loaded node object body
is an array of 2 languages ('en' and 'ru').
For specific node type I would like to render body in both languages one after another:
Russian version of node body
English version of node body
so switching between translations will not be needed.
What hook can I use to achieve this?
In implementation of hook_node_load()
body is an array of 2 languages, but in hook_node_view_alter()
body already contains only the current language value.
When using node_load()
in hook_preprocess_node
, it retrieves the node object from cache and its body has only one (current) language value.