Skip to content

Commit

Permalink
Add support for per-app language preferences on Android 13 and newer
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsgerlei authored and MartinStyk committed Jun 1, 2024
1 parent f88b323 commit fcc870c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ android {
dataBinding = true
buildConfig = true
}

androidResources {
generateLocaleConfig = true
}

lint {
disable += "MissingTranslation"
}
Expand Down Expand Up @@ -81,4 +86,4 @@ dependencies {

testImplementation(libs.junit)
androidTestImplementation(libs.espresso.core)
}
}
1 change: 1 addition & 0 deletions app/src/main/res/resources.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
unqualifiedResLocale=en-US

0 comments on commit fcc870c

Please sign in to comment.