build/lib/policies.ts/getTranslations
async function getTranslations(): Promise<Translations> {
	const updateUrl = product.updateUrl;

	if (!updateUrl) {
		console.warn(`Skipping policy localization: No 'updateUrl' found in 'product.json'.`);
		return [];
	}

	const resourceUrlTemplate = product.extensionsGallery?.resourceUrlTemplate;

	if (!resourceUrlTemplate) {
		console.warn(`Skipping policy localization: No 'resourceUrlTemplate' found in 'product.json'.`);
		return [];
	}

	const version = await getLatestStableVersion(updateUrl);
	const languageIds = Object.keys(Languages);

	return await Promise.all(languageIds.map(
		languageId => getNLS(resourceUrlTemplate, languageId, version)
			.then(languageTranslations => ({ languageId, languageTranslations }))
	));
}