static public getIso3FromLocale ( $locale ) : string | ||
$locale | string | |
return | string |
static function getIso3FromLocale($locale)
{
assert(strlen($locale) == 5);
$iso1 = substr($locale, 0, 2);
return AppLocale::getIso3FromIso1($iso1);
}