getData(['config', 'i18n', 'langAdmin']); switch ($val) { case 'fr' : $text[0] = 'Lire la suite'; break; case 'en' : $text[0] = 'Read more'; break; } // Pour les dates suivant la langue d'administration $lang = 'fr_FR'; $zone = 'Europe/Paris'; if ( $this->getData(['config', 'i18n', 'langAdmin']) === 'en'){ $lang = 'en_GB'; $zone = 'Europe/London'; } $fmt = datefmt_create( $lang, IntlDateFormatter::LONG, IntlDateFormatter::SHORT, $zone, IntlDateFormatter::GREGORIAN ); if($module::$articles): ?>