Custom Language
Android
The multi-language of the widget is configured by reading the Locale property of the context environment.
The logic is implemented within the SDK;
copy
Configuration config = context.getResources().getConfiguration();
Locale configLocale = config.locale;
If you want to set multiple languages, please configure the Locale property of Context;
iOS
The current language can be set through PromoContentManager
copy
/// set locale
/// - Parameter locale: locale
- (void)setLocale:(NSString *)locale
Example: