If you need to get the IDs of translated pages / posts you can use the following functions:
function lang_post_id($id){
if(function_exists('icl_object_id')) {
return icl_object_id($id,'post',true);
} else {
return $id;
}
}
function lang_page_id($id){
if(function_exists('icl_object_id')) {
return icl_object_id($id,'page',true);
} else {
return $id;
}
}