Display two translation in the same page

Hi,

I need to show French and English translation from a layout blueprint on the same webpage.
the language are here

content
    01_home
        default.en.txt
        default.fr.txt

I don’t find a good explanation of how it’s can be done with translation method.

Maybe if someone got a way to do this, I’ll be grateful.

thanks

You can access a language specific translation via the content object:

<?php
$contentEn = $page->content('en');
// a specific field
$fieldEn =  $page->content('en')->fieldName();
$fieldFr =  $page->content('fr')->fieldName();