Closed batadamnjanovic closed 2 years ago
Hi @batadamnjanovic, what is your idea in adding setter method, because you can easily change the device's language if you want to test locales?
Hi @hborisoff, this is similar to Web: https://github.com/Leanplum/Leanplum-JavaScript-SDK/pull/140 and iOS: https://github.com/Leanplum/Leanplum-iOS-SDK/pull/467.
We have predefined language codes that we need to send with every event.
Hi @hborisoff, thanks for the collaboration.
Do you maybe know when will be the next release if it's not a secret? It will mean a lot to us to organise some things in this sprint.
Thanks!
@batadamnjanovic Yesterday I was working on a release 5.8.2 containing a bug fix and included your change too.
Introduce
setLocale(locale: String)
in order to set a custom locale string.Problem with this approach is that
setLocale(...)
needs to be called beforeLeanplum.start(...)
method.