Skip to content
This repository was archived by the owner on Jul 11, 2025. It is now read-only.
This repository was archived by the owner on Jul 11, 2025. It is now read-only.

Per-app language preferences not working properly in Compose Multiplatform below Android 12  #468

@pankaj1920

Description

@pankaj1920

this is the actual function i created to change app language

actual fun changeAppLanguage(language: String) {
AppCompatDelegate.setApplicationLocales(
LocaleListCompat.forLanguageTags(language)
)
}

For android 14 it is working fine in compose multiplatform if i change app language from inside app its working and if i close the app and reopen then also previous set language is coming.

But for android 12 and below it i click on language change btn then app language is not changing. i have to go some other screen and come back to reflect the language change. and if i close app and reopen then delfault language is setting previous selected language is not setting

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions