Hi, On some websites there are controls to change ...
# multiplatform
a
Hi, On some websites there are controls to change a language. Do you know if it’s possible to implement it by using components-resources library? I want to keep translations in
values-xx/strings.xml
files and be able to change “user”
Locale
and not a platform one? Probably there is another solution, but did not find a right one. On my side I added
CompositionLocalProvider
to pass then a user defined Locale to ResourceEnvironment. It works fine for desktop and wasm, but I had to modify slightly components-resources library. Just wondering if components-resources is designed to use something different for such cases or it will be supported later ? Thanks.
j
a