Internationalization

🌍 Internationalization

Internationalization (i18n) allows the app to dynamically adapt to different languages at runtime based on user preferences.

📲 Setting Language Programmatically

React Native

RdnaClient.setSDKLocale("fr");  // For French

Flutter

RdnaClient.setSDKLocale("es");  // For Spanish

Cordova

com.uniken.rdnaplugin.RdnaClient.setSDKLocale(success, failure, ["ja"]);

iOS (Swift)

UserDefaults.standard.set("de", forKey: "AppLanguage")

Android (Java)

SharedPreferences prefs = context.getSharedPreferences("customAppConfig", Context.MODE_PRIVATE);
prefs.edit().putString("appLanguage", "ru").commit();

🔄 Effect

Once set, all subsequent SDK components (UI prompts, validation messages, etc.) reflect the selected locale, enabling a consistent multilingual experience.