My solution to my problem: custom fields.
Basically, you can create a custom field (with the default admin tool) and call it say, "class", or whatever you want. You can then assign it a value that will be the same for all languages of the same page. What is good is that in fact, if you use the default xml export>import tool to copy the page structure in all the languages/sites, the custom field will be retained, so you have to write it only once per page.
That said, I also made 2 raw and small functions and I want to share them.
I use this one instead of is_page(), to set different css and js files:
function has_page_class($page_class){
global $wpdb;
$id = get_queried_object_id();
$check = $wpdb->get_var($wpdb->prepare(
"SELECT COUNT(*)
FROM $wpdb->postmeta m
WHERE m.post_id = %d and m.meta_key = 'class' and m.meta_value = %s",
$id, $page_class));
if($check) return true;
return false;
}
And I use this one instead of get_permalink() or get_page_by_title():
function get_link_by_page_class($page_class){
global $wpdb;
//Since the meta SHOULD be unique once per language I could use get_var.
//But I keep get_results and take the first found page with that meta for programming reasons.
$pages = $wpdb->get_results($wpdb->prepare( "SELECT post_id FROM $wpdb->postmeta m WHERE m.meta_key = 'class' AND m.meta_value= %s", $page_class));
if($pages && isset($pages[0])){
$p = $pages[0];
echo get_permalink($p->post_id);
}
}
By assigning the 'class' custom field to the pages of one language and then using these functions in the theme code, I can duplicate the theme for all languages (or maybe in some cases just use the same..) without worring about switching page names in functions that use them.