Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 808 Bytes

Language-Configuration.md

File metadata and controls

16 lines (9 loc) · 808 Bytes

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.