Localization
🏷️ Localization
Localization is the process of adapting the REL-ID IDV SDK’s user interface text and messages to a specific language or region. The SDK provides out-of-the-box support for English and allows developers to customize and translate the strings to additional languages.
📦 Modules Involved
- IDVCore – General messages and errors.
- IDVDocumentCapture – Strings related to document scanning.
- IDVSelfieCapture – Strings related to selfie authentication.
🛠️ How to Implement
Each platform has specific mechanisms for supporting localization:
React Native / Flutter / Cordova
Use .strings files or json files (e.g. en.json, fr.json, etc.) and configure the SDK plugins accordingly.
Native iOS
Integrate .strings files and enable base internationalization in the project settings.
Native Android
Use XML string resources like:
strings-idv.xmlstrings-idv-doc-scan.xmlstrings-idv-face-scan.xml
Organize them in values-<locale> folders (e.g., values-fr, values-hi).
Updated 6 months ago
