build/lib/policies.ts/getNLS
async function getNLS(resourceUrlTemplate: string, languageId: string, version: string) {
	const resource = {
		publisher: 'ms-ceintl',
		name: `vscode-language-pack-${languageId}`,
		version,
		path: 'extension/translations/main.i18n.json'
	};

	const url = resourceUrlTemplate.replace(/\{([^}]+)\}/g, (_, key) => resource[key as keyof typeof resource]);
	const res = await fetch(url);
	const { contents: result } = await res.json() as { contents: LanguageTranslations };
	return result;
}