浏览代码

Add automatic Per App Languages

Signed-off-by: Arthur-GYT <a.gayot@posteo.com>
Arthur-GYT 11 月之前
父节点
当前提交
58e05f34e0
共有 2 个文件被更改,包括 4 次插入0 次删除
  1. 3 0
      app/build.gradle
  2. 1 0
      app/src/main/res/resources.properties

+ 3 - 0
app/build.gradle

@@ -98,6 +98,9 @@ android {
     namespace 'com.owncloud.android'
     testNamespace "${namespace}.test"
 
+    androidResources {
+        generateLocaleConfig = true
+    }
 
     defaultConfig {
         minSdkVersion 24

+ 1 - 0
app/src/main/res/resources.properties

@@ -0,0 +1 @@
+unqualifiedResLocale=en-US