Localization
Multi-language support in the Azeoo SDK. These concepts apply to all platforms. The example below uses Flutter (Dart); for Android, iOS, and React Native, see your platform's Configuration (Android · iOS · Flutter · React Native).
Supported Languages
- English (en)
- French (fr)
- Spanish (es)
- Arabic (ar)
Configuration
Set the locale in the options passed at initialize:
// Flutter
await AzeooSDK.initialize(apiKey, options: AzeooSDKInitOptions(
locale: "en", // or "fr", "es", "ar"
));
On Android/iOS, pass locale in the SDK config.
Auto-detection
If locale is not specified, the SDK may use the device locale. See your platform's configuration docs.
Changing language
The locale is set at initialize. To change language, re-initialize with a new locale (or use the theme/locale APIs if your platform exposes them).