| 
<?php
include ("language.php");
 
 //Initialize the class
 $lang=new language('fr');
 
 //Show the link to change language
 $lang->show_language_select('./flags/');
 
 //Translate code and write the translation
 $lang->writeText('HELLO_TEXT');
 
 //Transform code in translation and return the translation as string without writing it directly
 $scringresult=$lang->writeText('SAMPLE_TEXT',true);
 echo "<br>".$scringresult;
 
 ?>
 
 |