btw, does the locale parameter of the @Preview wor...
# compose
n
btw, does the locale parameter of the @Preview works for you ?
@Preview(locale = "fr")
it remains in english for me 😄 (I'm providing a values-fr/strings.xml) and of course I also tried
@Preview(locale = "fr-rFR")
c
@nosuid is this expected?
n
it is not. I'll look into it
👍 1
I've checked with the latest version and seems to be working. Could you please confirm how are you getting the strings? I've done
Copy code
stringResource(id = R.string.text)
and it was correctly resolved.
n
sorry i didn't relaunch slack for the week-end, it is how I get the strings and it's not working
i'll try on a sample project (didn't think to check)
(of course I defined a values-fr/strings.xml with: )
Copy code
<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="test">Francais</string>
</resources>
(and it's the same with locale = "fr-rFR")
I'll file a bug