Skip to main content

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.

Changing existing strings

To modify an existing string, the best approach would be to:

  1. Check out all the available strings you can change in the strings.xml.
  2. Choose a string key that you want to change. For example: <string name="mb_result_done">Done</string>.
  3. In your project, create a file strings.xml in the folder res/values if it doesn't already exist.
  4. Create an entry in the file with the value for the string. For example: <string name="mb_result_done">Accept</string>.
  5. 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 mb_result_done, you should create an entry like this: <string name="mb_result_done">Bestätigen</string>

  • Changing existing strings
  • Adding new language