I am trying to have a function in the controller that returns the default content for english and FrenchContent for french.
I noticed if I try to return $this->Content it always returns an empty string! how to access the page content otherwise?
function GetContent(){
$language = Session::get('language');
if(!$language || $language === "english") return $this->Content;
if($language ==="french") return $this->FrenchContent;