Skip to main content
Version: v2

Localization

The SDK is available in English. You can change any of its strings, and add your own languages.

  1. Copy the Localizable.xcstrings file from the Localization folder to your project.

  2. Change or translate the strings you need. You can remove the others: the SDK uses its own value for every key that your file doesn't define.

  3. Tell the SDK which bundle has your strings, before you create the view:

    MicroblinkPlatformTheme.shared.localizationBundle = Bundle.main

If your strings are in a table other than Localizable, also set its name:

MicroblinkPlatformTheme.shared.localizationTableName = "MyStrings"