public function disableLocale($addonName, $addonInfo)
{
if (!Gdn::request()->isAuthenticatedPostBack(true)) {
throw new Exception('Requires POST', 405);
}
$this->permission('Garden.Settings.Manage');
RemoveFromConfig("EnabledLocales.{$addonName}");
$this->informMessage(sprintf(t('%s Disabled.'), val('Name', $addonInfo, t('Locale'))));
$this->handleAddonToggle($addonName, $addonInfo, 'locales', false);
}