Skip to content

Commit

Permalink
Merge pull request #3123 from CruGlobal/filterIncompleteTranslations
Browse files Browse the repository at this point in the history
GT-2144 GT-2146 Update the list of available languages
  • Loading branch information
frett authored Sep 27, 2023
2 parents d36f026 + 56be9bf commit 3572b58
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
16 changes: 16 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,22 @@ android {
proguardFile("proguard-searchview.pro")

vectorDrawables.useSupportLibrary = true

resourceConfigurations += listOf(
"ar",
"en",
"es",
"fr",
"hi",
"id",
"in",
"lv",
"pt",
"ru",
"vi",
"zh-rCN",
"zh-rTW",
)
}
buildFeatures {
buildConfig = true
Expand Down
9 changes: 9 additions & 0 deletions app/src/main/res/xml/locales_config.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<locale-config xmlns:android="http://schemas.android.com/apk/res/android">
<locale android:name="ar" />
<locale android:name="en" />
<locale android:name="es" />
<locale android:name="fr" />
<locale android:name="hi" />
<locale android:name="id" />
<locale android:name="lv" />
<locale android:name="pt" />
<locale android:name="ru" />
<locale android:name="vi" />
<locale android:name="zh-Hans" />
<locale android:name="zh-Hant" />
</locale-config>

0 comments on commit 3572b58

Please sign in to comment.