Skip to main content

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 (e.g. locale: "en", locale: "fr", locale: "es", locale: "ar"):

// Flutter
await AzeooSDK.initialize(apiKey, options: AzeooSDKInitOptions(
locale: "en", // or "fr", "es", "ar" (or "auto" for device locale)
));

On Android/iOS/React Native, pass locale via the SDK init options/config.

Auto-detection

If locale is not specified, the SDK uses the stored default locale, or device locale (when configured to auto-detect).

Changing language

The locale is set at initialize. In the Flutter SDK UI, the user can change language using the in-SDK language selector; for native platforms, language change support is not complete yet (Android has a setLanguage method stub/placeholder).

Next Steps