Check to see if two nodes are translations of each other What is the easiest way to check to see if two nodes are indeed part of the same translation set? Is there a function or some property that can be used? I am using the i18n suite of modules to perform node translation.
You can use translation_node_get_translations($tnid) function :

// $node is the node which translation set is needed
// this function returns an array of two node objects
translation_node_get_translations($node-&gt;tnid);


If you want to test it you need to put it somewhere (a wise place) in the code, clear your cache, and then show it with devel module.

Wish helps,

cheers,

jramby.