src/vs/workbench/contrib/localization/browser/localizationsActions.ts/ClearDisplayLanguageAction/run
class ClearDisplayLanguageAction:	public async run(accessor: ServicesAccessor): Promise<void> {
		const localeService: ILocaleService = accessor.get(ILocaleService);
		const dialogService: IDialogService = accessor.get(IDialogService);
		const productService: IProductService = accessor.get(IProductService);
		const hostService: IHostService = accessor.get(IHostService);

		if (await localeService.clearLocalePreference()) {
			const restartDialog = await dialogService.confirm({
				type: 'info',
				message: localize('relaunchAfterClearDisplayLanguageMessage', "A restart is required for the change in display language to take effect."),
				detail: localize('relaunchAfterClearDisplayLanguageDetail', "Press the restart button to restart {0} and change the display language.", productService.nameLong),
				primaryButton: restart
			});

			if (restartDialog.confirmed) {
				hostService.restart();
			}
		}
	}