public function getOneLocaleActivity(string $appname):Renderer
    {

        $locale = new AppLocale($appname);
        $localeFormat =  ["app" => $appname, "enabled" => $locale->isEnabled(), "values" => $locale->getValues(),
            "prefered" => $locale->getPrefer(), "transtype" => $locale->getTranstype()];

        return ((new Renderer())->jsonRenderer(array("code" => 200, "results" => $localeFormat)));
    }