https://kotlinlang.org logo
#moko
Title
# moko
a

Ahmed Elkhodery

09/20/2023, 5:18 PM
Hello can moko resources to be used to localize images not only strings ?
a

alex009

09/21/2023, 3:55 PM
hi. no, at now localization only for strings and plurals
a

Ahmed Elkhodery

09/21/2023, 4:23 PM
Thanks for response, Ok well, isn't there an extension method to detect current localization, or is it even possible to be added to moko resources ?
I think an extension function can be added to support android and apple platform, but not sure about other desktop targets and js
a

alex009

09/21/2023, 4:48 PM
expect/actual method can be implemented. and at now just select one of imageresource with
when
for example
3 Views