Localization

Regula SDK supports localization. If any language is required by your application but is not supported by Regula SDK, or you want to change our localized strings, you can add localized strings to resource files and allow the Regula SDK to be presented to the users in their desired system locale.

The list of available strings can be found here.

Xamarin.Android

To do this, simply add the needed strings to Strings.xml file.

For more information on localizing your application and best practices, please see the official Microsoft documentation.

Xamarin.iOS

To get started, include the string resource file named RegulaSDK.strings to your project's Resources folder. This filename is required and customization will only work if it is set as specified. Also, notice that this file has to be located in the corresponding .lproj folder, e.g. es.lproj.

Don't forget to add the CFBundleLocalizations property to the Info.plist file and specify the languages.

For more information on localizing your application and best practices, please see the official Microsoft documentation.

Now you can redefine every string in Regula SDK with the appropriate translated values. This way, when the user has their device's System Language set to a language supported by your application, Regula SDK will utilize the appropriate string resources.