Skip to content

Commit

Permalink
feat: initialize Arabic translation (#121)
Browse files Browse the repository at this point in the history
- add ar support, thanks to @ aalmalki3's contribution!
  • Loading branch information
FriesI23 committed Jan 27, 2024
1 parent 488f532 commit f98bf1b
Show file tree
Hide file tree
Showing 7 changed files with 1,697 additions and 4 deletions.
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ android {
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
resourceConfigurations += ["en", "de", "fa", "vi", "zh", "fr"]
resourceConfigurations += ["ar", "en", "de", "fa", "fr", "vi", "zh"]
}

signingConfigs {
Expand Down
4 changes: 4 additions & 0 deletions android/app/src/main/res/values-ar/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="appName">Table Habit</string>
</resources>
3 changes: 2 additions & 1 deletion android/app/src/main/res/xml/locales_config.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<?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="de" />
<locale android:name="fa" />
<locale android:name="fr" />
<locale android:name="vi" />
<locale android:name="zh" />
<locale android:name="fr" />
</locale-config>
Loading

0 comments on commit f98bf1b

Please sign in to comment.