https://kotlinlang.org logo
#compose
Title
# compose
m

Mini

02/21/2024, 1:49 PM
How can I customise the language of the DatePicker component? e.g. the text "February 2024", I would like February in a different language
Set Locale on the local config e.g.
Copy code
LocalConfiguration.current.apply {
            setLocale(Locale.FRANCE)
}
CompositionLocalProvider(LocalConfiguration provides config) {
.. or otherwise ensure the locale is set to your requirements, obviously O: )
5 Views