public static function getLocale()
    {
        static::getDefaultLocale();
        $current = Locale::getDefault();
        if ($current === '') {
            $current = static::DEFAULT_LOCALE;
            Locale::setDefault($current);
        }

        return $current;
    }
public static function getLocale()
    {
        static::getDefaultLocale();
        $current = Locale::getDefault();
        if ($current === '') {
            $current = static::DEFAULT_LOCALE;
            Locale::setDefault($current);
        }

        return $current;
    }
public static function getLocale ( ) { static :: getDefaultLocale ( ) ; $ current = Locale :: getDefault ( ) ; if ( $ current === '' ) { $ current = static :: DEFAULT_LOCALE ; Locale :: setDefault ( $ current ) ; } return $ current ; }
Will return the currently configure locale as stored in the
`intl.default_locale` PHP setting.

@return string The name of the default locale.
Will return the currently configure locale as stored in the intl . default_locale PHP setting .