diff --git a/README.md b/README.md index fe7f2fec1..9309bad39 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ class ViewController: UIViewController { propertyName: try! SPPropertyName("mobile.multicampaign.demo"), campaigns: SPCampaigns( gdpr: SPCampaign(), - ccpa: SPCampaign(), + usnat: SPCampaign(), ios14: SPCampaign() ), delegate: self @@ -164,7 +164,7 @@ extension ViewController: SPDelegate { SPCampaigns *campaigns = [[SPCampaigns alloc] initWithGdpr: campaign - ccpa: campaign + usnat: campaign ios14: campaign environment: SPCampaignEnvPublic]; @@ -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, Sourcepoint will ignore the language setting configured in the SDK and use the default language configured in the message builder. If the end-user's browser language is not supported by a translation in the message builder, the default language set in the message builder will be used instead. ## Loading Stage campaigns