static public get3LetterIsoFromLocale ( $locale ) : string | ||
$locale | string | |
return | string |
static function get3LetterIsoFromLocale($locale)
{
assert(strlen($locale) == 5);
$iso2Letter = substr($locale, 0, 2);
return AppLocale::get3LetterFrom2LetterIsoLanguage($iso2Letter);
}