Skip to content

Commit

Permalink
feat: Automatic language detection
Browse files Browse the repository at this point in the history
  • Loading branch information
validcube committed Jul 4, 2024
1 parent 269fa79 commit 0c554e8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
11 changes: 7 additions & 4 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ android {
targetSdk = 34
versionCode = 1
versionName = "0.0.1"
resourceConfigurations.addAll(listOf(
"en",
))
vectorDrawables.useSupportLibrary = true
}

Expand Down Expand Up @@ -88,7 +85,13 @@ android {
buildFeatures.aidl = true
buildFeatures.buildConfig=true

composeOptions.kotlinCompilerExtensionVersion = "1.5.10"
android {
androidResources {
generateLocaleConfig = true
}
}

composeOptions.kotlinCompilerExtensionVersion = "1.5.14"
externalNativeBuild {
cmake {
path = file("src/main/cpp/CMakeLists.txt")
Expand Down
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 0c554e8

Please sign in to comment.