From f6d1dc54db869bcbea4596fdeb6dd4621cf1b456 Mon Sep 17 00:00:00 2001 From: tom-win87 <76440079+tom-win87@users.noreply.github.com> Date: Mon, 6 May 2024 11:27:54 -0400 Subject: [PATCH] [HCD 516] Add default language precedence --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fe7f2fec1..a68ac49a1 100644 --- a/README.md +++ b/README.md @@ -488,7 +488,9 @@ consentManager.messageLanguage = SPMessageLanguageGerman; [consentManager loadMessage]; ``` -It's important to notice that if any of the components of the message doesn't have a translation for that language, the component will be rendered in english as a fallback. +It's important to notice that if any of the components of the message doesn't have a translation for that language, the component will be rendered in the default language configured in the message builder. + +> When the **Use Browser Default** toggle is enabled in the message builder, the user's browser language will always take precedence over the language set in the SDK as long as the end-user's browser language is supported in the message. If the user's browser language is not supported, the default language set in the message builder will be used. ## Loading Stage campaigns