public static function getLocale(bool $reload = false)
    {
        if (!empty(self::$runtimeLocale) && !$reload) {
            return self::$runtimeLocale;
        }
        
        $defaultLocale = Config::getConfigurationValueOrDefault('defaultLocale', Language::ENGLISH_US);
        
        if (Request::hasCookie(Language::LANGUAGE_COOKIE_NAME)) {
            return Request::getCookie(Language::LANGUAGE_COOKIE_NAME);
        }
        
        $acceptLocale = ArrayUtils::getArrayValueForKeyOrDefault($_SERVER, 'HTTP_ACCEPT_LANGUAGE', $defaultLocale);
        self::$runtimeLocale = self::getCompatibleLocale($acceptLocale);
        
        return self::$runtimeLocale;
    }