src/vs/workbench/contrib/localization/electron-sandbox/localeService.ts/NativeLocaleService/showRestartDialog
class NativeLocaleService:	private async showRestartDialog(languageName: string) {
		const restartDialog = await this.dialogService.confirm({
			type: 'info',
			message: localize('restartDisplayLanguageMessage', "To change the display language, {0} needs to restart", this.productService.nameLong),
			detail: localize(
				'restartDisplayLanguageDetail',
				"Press the restart button to restart {0} and set the display language to {1}.",
				this.productService.nameLong,
				languageName
			),
			primaryButton: localize({ key: 'restart', comment: ['&& denotes a mnemonic character'] }, "&&Restart"),
		});

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