Polyglot\Services\Lang::getLocaleFolder PHP Метод

getLocaleFolder() публичный Метод

Get the folder where a locale's translations reside
public getLocaleFolder ( string $locale ) : string
$locale string
Результат string
    public function getLocaleFolder($locale)
    {
        $folder = sprintf('%s.%s/LC_MESSAGES', $this->shortToLongLocale($locale), $this->getEncoding(true));
        return $this->getTranslationsFolder($folder);
    }