https://kotlinlang.org logo
#compose-android
Title
# compose-android
t

Travis Griggs

12/11/2023, 6:36 PM
I'm looking around at i18n stuff for my developing app. It seems that the
stringResource(R.strings.foo_bar)
is the pattern of choice still for doing this? Or is there a new and easier/different way that I haven't found yet?
👌 1
d

dorche

12/12/2023, 12:45 AM
there are some libraries like https://github.com/adrielcafe/lyricist that could help
t

Travis Griggs

12/12/2023, 4:38 AM
Yeah, I saw that one. Are people using it? What I really wish is that we could keep the various English string constants in place, because it helps programmers know where they are and takes up less space usually, and then just have some short/terse String extension you send to the string (e.g. “Hello world”.xl8d )