Accessibility language - Jetpack Compose

In Jetpack Compose, you can use AnnotatedString inside the text Composable and then use SpanStyle to set locale for a specific part of the text.

val text = buildAnnotatedString {  
    // Setting locale to Dutch for Appt string
    withStyle(style = SpanStyle(localeList = LocaleList("nl"))) {  
        append("Appt")  
    }  
}  
Text(text = text)