I have a multilingual site and I need to know which nodes are the translation of the current one; I use
translation_node_get_translations(), but it seems it doesn't work.
I have 2 nodes (node/17 and node/670) where the latter is the translation of the former.
If I call
translation_node_get_translations(17), I get an array with 2 elements referring to the nodes with ID equal to 17 and 670; if I call
translation_node_get_translations(670), I get an empty array.
Is that a bug, or do I have to differently retry this information?