public get_locale ( ) : string | boolean | ||
return | string | boolean |
function get_locale()
{
$locale = $this->guess_locale_from_lang(get_locale());
if (!$locale) {
$locale = 'en_US';
}
return $locale;
}