diff --git a/libs/features/personalization/personalization.js b/libs/features/personalization/personalization.js index 38f38c4195..66d5936c15 100644 --- a/libs/features/personalization/personalization.js +++ b/libs/features/personalization/personalization.js @@ -545,10 +545,12 @@ export function parseManifestVariants(data, manifestPath, manifestOverrideName) function parsePlaceholders(placeholders, config, selectedVariantName = '') { if (!placeholders?.length || selectedVariantName === 'default') return config; const valueNames = [ - 'value', selectedVariantName.toLowerCase(), + config.locale.region.toLowerCase(), config.locale.ietf.toLowerCase(), ...config.locale.ietf.toLowerCase().split('-'), + 'value', + 'other', ]; const [val] = Object.entries(placeholders[0]) .find(([key]) => valueNames.includes(key.toLowerCase())); diff --git a/libs/features/personalization/preview.js b/libs/features/personalization/preview.js index df2d7944fc..d98050622b 100644 --- a/libs/features/personalization/preview.js +++ b/libs/features/personalization/preview.js @@ -228,6 +228,7 @@ function createPreviewPill(manifests) {
Page Info:
Target integration feature is ${targetOnText}
Personalization feature is ${personalizationOnText}
+
Page's Region is ${config.locale.region}
Page's Locale is ${config.locale.ietf}