Language Configuration

Before using any methods from this SDK that call the backend, a proper language should be set. A properly translated content is served based on this configuration. The property that stores language settings is not persisted. You need to set acceptLanguage every time that the application boots.

Note: Content language capabilities are limited by the implementation of the server - it must support the provided language.

Usage

Both WMTOperations and WMTPush contain an acceptLanguage property that should be set to the user’s preferred language.

Format

The default value is always en. With other languages, we use values compliant with standard RFC Accept-Language.

Last updated on Nov 04, 2021 (09:59) Edit on Github Send Feedback
Search

1.7.x

Mobile Token SDK for iOS