Localization
SDK is available in English. You can modify all of the strings and add your own language. For more information on how localization works in Android, check out the official Android documentation.
The strings of our screens start with mbp_.
Changing existing strings
To modify an existing string, the best approach would be to:
- Check out all the available strings you can change in the
strings.xml. - Choose a string key that you want to change. For example:
<string name="mbp_result_done">Done</string>. - In your project, create a file
strings.xmlin the folderres/valuesif it doesn't already exist. - Create an entry in the file with the value for the string. For example:
<string name="mbp_result_done">Accept</string>. - Repeat for all the strings you wish to change.
Adding new language
The Microblink Platform SDK can easily be translated into other languages.
The strings.xml contains all the strings used in the Microblink Platform library.
In order to make e.g. German translation, create a folder res/values-de in your project and create a strings.xml inside it.
Then, open that file and create entries for strings you wish to translate.
E.g., for the string mbp_result_done, you should create an entry like this: <string name="mbp_result_done">Bestätigen</string>
Scanning screens
The document scanning, card scanning, and face capture screens come from their own SDKs, which have their own string resources.
For example, the guidance on the face capture screen ("Move closer", "Center your face") comes from the mb_biom_guidance_* strings, which you can override the same way.