Thread
#compose
    n

    nitrog42

    1 year ago
    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")
    Chris Sinco [G]

    Chris Sinco [G]

    1 year ago
    @nosuid is this expected?
    nosuid

    nosuid

    1 year ago
    it is not. I'll look into it
    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
    stringResource(id = R.string.text)
    and it was correctly resolved.
    n

    nitrog42

    1 year ago
    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: )
    <?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