src/vs/workbench/contrib/experiments/browser/experimentalPrompt.ts/ExperimentalPrompts/getLocalizedText
class ExperimentalPrompts:	static getLocalizedText(text: string | { [key: string]: string; }, displayLanguage: string): string {
		if (typeof text === 'string') {
			return text;
		}
		const msgInEnglish = text['en'] || text['en-us'];
		displayLanguage = displayLanguage.toLowerCase();
		if (!text[displayLanguage] && displayLanguage.indexOf('-') === 2) {
			displayLanguage = displayLanguage.substr(0, 2);
		}
		return text[displayLanguage] || msgInEnglish;
	}