Skip to content

Commit

Permalink
Enable automatic per-app language support
Browse files Browse the repository at this point in the history
  • Loading branch information
mueller-ma committed Aug 9, 2023
1 parent 2fa8738 commit 7f78f95
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 50 deletions.
2 changes: 1 addition & 1 deletion .idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions mobile/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ android {
abortOnError false
lintConfig file('lint.xml')
}
androidResources {
generateLocaleConfig true
}

}

aboutLibraries {
Expand Down
1 change: 0 additions & 1 deletion mobile/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@
android:resizeableActivity="true"
android:supportsPictureInPicture="false"
android:supportsRtl="true"
android:localeConfig="@xml/locales_config"
android:enableOnBackInvokedCallback="true"
android:theme="@style/openHAB.Launch">

Expand Down
1 change: 1 addition & 0 deletions mobile/src/main/res/resources.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
unqualifiedResLocale=en-US
48 changes: 0 additions & 48 deletions mobile/src/main/res/xml/locales_config.xml

This file was deleted.

0 comments on commit 7f78f95

Please sign in to comment.