Native Android

šŸ¤– Native Android Localization for REL-ID IDV SDK

This document provides step-by-step guidance for configuring localization support in a Native Android app using the REL-ID IDV SDK (based on Section 11.5.1).


🧾 Overview

Localization allows you to customize the SDK UI strings and provide support for multiple languages. If localization is not required, this section can be skipped.


šŸ“‹ Required Files

Ensure you obtain the following XML files from the REL-ID admin:

  • idv-core.xml
  • strings-idv-doc-scan.xml
  • strings-idv-selfie-capture.xml

These files correspond to the following SDK components:

SDK ModuleFile Name
IDV Coreidv-core.xml
Document Capturestrings-idv-doc-scan.xml
Selfie Capturestrings-idv-selfie-capture.xml

šŸ› ļø Integration Steps

Step 1: Open Project

Open your Native Android project in Android Studio.

Step 2: Create Locale-Specific Values Folder

  • Navigate to res directory.
  • Right-click → New → Android Resource Directory.
  • Set Resource Type to values.
  • Choose Locale such as ru-RU for Russian.

Step 3: Add XML Files

Place the following XML files in the appropriate locale-specific directory (e.g., values-ru-rRU):

  • idv-core.xml
  • strings-idv-doc-scan.xml
  • strings-idv-selfie-capture.xml

Step 4: Customize Strings

Open the XML files and modify the strings for localization.

<string name="scan_document_prompt">ŠŸŠ¾Š¶Š°Š»ŃƒŠ¹ŃŃ‚Š°, Š¾Ń‚ŃŠŗŠ°Š½ŠøŃ€ŃƒŠ¹Ń‚Šµ Š“Š¾ŠŗŃƒŠ¼ŠµŠ½Ń‚</string>
<string name="capture_selfie_prompt">ŠŸŠ¾Š¶Š°Š»ŃƒŠ¹ŃŃ‚Š°, сГелайте селфи</string>

Repeat this for each string that needs translation.


šŸ“Œ Notes

  • You may optionally merge these into your main strings.xml, but the key names must remain unchanged.
  • Repeat for every language/region by creating additional values-<locale> folders.

With this setup, your Native Android app will support localized REL-ID SDK workflows across all integrated components.