Render the same twig file in timber when site is multilang (el / en). Constraint : all slugs in eng language have to be like my-site/slug-en.html
<?php
//themes/theme_name/page.php
$context = Timber::get_context();
$post = new TimberPost();
$context['post'] = $post;
if(preg_match('/(-en)/', $post->post_name , $matches, PREG_OFFSET_CAPTURE)) {
$slug = substr($post->post_name , 0, -3);
}else{
$slug = $post->post_name;
}
Timber::render( array( 'page-' . $slug . '.twig', 'page.twig' ), $context );