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 IOperationsService and IPushService 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 (12:13) Edit on Github Send Feedback
Search

1.7.x

Mobile Token SDK for Android