BlinkID/blinkid-capacitor

How to set the framework language?

Opened this issue · 2 comments

const recognizerCollection = new RecognizerCollection(recognizers);

const settings = new BlinkIdOverlaySettings();
settings.language = 'nl';

return plugin.scanWithCamera(settings, recognizerCollection, license);

Setting the language like this on the overlay settings does not seem to work, the language is still set to the device language, not Dutch ('nl') as specified. Is this the correct way to set the language?

BlinkID version: 5.9.0

Hi @louisdebaere,
That should be the correct way to set the language, but currently "language" property is not implemented in the wrapper (the value is not propagated to the native framework).
We'll update the issue once the fix is published.

Hi @louisdebaere

Following up on this thread.

The implementation of the language property was postponed and will be added in the next release of the SDK, 5.13.0.

Let us know if you have any additional questions.

Regards,
Milan