Skip to content

Commit

Permalink
[HCD 516] Add default language precedence
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-win87 committed May 6, 2024
1 parent 6945eb6 commit f6d1dc5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f6d1dc5

Please sign in to comment.