protected function _getTranslator(string $lang, string $suffix = '.yml', string $prefix = ''): Translator {
        $name = $prefix.$lang.$suffix;

        return Translator::fromConfig((array) $this->configLoader->load($name), $lang);
    }
protected function _getTranslator(string $lang, string $suffix = '.yml', string $prefix = ''): Translator {
        $name = $prefix.$lang.$suffix;

        return Translator::fromConfig((array) $this->configLoader->load($name), $lang);
    }
protected function _getTranslator ( string $ lang , string $ suffix = '.yml' , string $ prefix = '' ) : Translator { $ name = $ prefix . $ lang . $ suffix ; return Translator :: fromConfig ( ( array ) $ this -> configLoader -> load ( $ name ) , $ lang ) ; }
Makes Translator from config

Loads config from {@see ConfigurationTranslatorProvider::$configLoader}
by language name with prefix and suffix.

@param string $lang   Language name
@param string $suffix Suffix for config name (default is '.yml')
@param string $prefix Prefix for config name (default is '')

@return Translator
Makes Translator from config