private function loadTranslationMessages($language)
    {
        // Reset any previous translations if any
        $this->moduleManager->clearTranslations();
        $this->translator->reset();

        // Now load new ones
        $this->moduleManager->loadAllTranslations($language);
        $this->translator->extend($this->moduleManager->getTranslations());
    }
private function loadTranslationMessages($language)
    {
        // Reset any previous translations if any
        $this->moduleManager->clearTranslations();
        $this->translator->reset();

        // Now load new ones
        $this->moduleManager->loadAllTranslations($language);
        $this->translator->extend($this->moduleManager->getTranslations());
    }
private function loadTranslationMessages ( $ language ) { // Reset any previous translations if any $ this -> moduleManager -> clearTranslations ( ) ; $ this -> translator -> reset ( ) ; // Now load new ones $ this -> moduleManager -> loadAllTranslations ( $ language ) ; $ this -> translator -> extend ( $ this -> moduleManager -> getTranslations ( ) ) ; }
Load translation messages from all available modules

@param string $language
@return void
Load translation messages from all available modules