public static function disableLocale():bool
    {
        $file = JsonListener::open(FEnv::get("framework.config.core.config.file"));
        if (true === property_exists($file, "locale_enabled") && true === $file->locale_enabled) {
            $file->locale_enabled = false;
            JsonListener::put(
                FEnv::get("framework.config.core.config.file"),
                json_encode($file, JSON_PRETTY_PRINT)
            );
            JsonListener::close(FEnv::get("framework.config.core.config.file"));
            return (true);
        }
        return (false);
    }
public static function disableLocale():bool
    {
        $file = JsonListener::open(FEnv::get("framework.config.core.config.file"));
        if (true === property_exists($file, "locale_enabled") && true === $file->locale_enabled) {
            $file->locale_enabled = false;
            JsonListener::put(
                FEnv::get("framework.config.core.config.file"),
                json_encode($file, JSON_PRETTY_PRINT)
            );
            JsonListener::close(FEnv::get("framework.config.core.config.file"));
            return (true);
        }
        return (false);
    }
public static function disableLocale ( ) : bool { $ file = JsonListener :: open ( FEnv :: get ( "framework.config.core.config.file" ) ) ; if ( true === property_exists ( $ file , "locale_enabled" ) && true === $ file -> locale_enabled ) { $ file -> locale_enabled = false ; JsonListener :: put ( FEnv :: get ( "framework.config.core.config.file" ) , json_encode ( $ file , JSON_PRETTY_PRINT ) ) ; JsonListener :: close ( FEnv :: get ( "framework.config.core.config.file" ) ) ; return ( true ) ; } return ( false ) ; }
Disable locale for framework instance
@return bool
@throws Server500
Disable locale for framework instance