Skip to content

Commit

Permalink
Add bengali language
Browse files Browse the repository at this point in the history
  • Loading branch information
tuomas2 committed Dec 6, 2024
1 parent e041461 commit f0c636c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/net/bible/service/common/CommonUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -1375,8 +1375,8 @@ object CommonUtils : CommonUtilsBase() {

Log.i(TAG, "Language tag $languageTag, code $languageCode")

// Transifex as of 23.11.2024
val goodLanguages = "en,af,fi,fr,de,it,pt-BR,ro,sk,sl,tr,kk,uk,cz,lt,yue,zh-Hans-CN,zh-Hant-TW,es,ta,cs,hu,nl,sr,te,pl,hr".split(",")
// Transifex as of 6.12.2024
val goodLanguages = "en,af,fi,fr,de,it,pt-BR,ro,sk,sl,tr,kk,uk,cz,lt,yue,zh-Hans-CN,zh-Hant-TW,es,ta,cs,hu,nl,sr,te,pl,hr,bn".split(",")

// 4.0 list:

Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/values/arrays.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
<item>@string/lang_afrikaans</item>
<item>@string/lang_arabic</item>
<item>@string/lang_bulgarian</item>
<item>@string/lang_bengali</item>
<item>@string/lang_burmese</item>
<item>@string/lang_czech</item>
<item>@string/lang_german</item>
Expand Down Expand Up @@ -135,6 +136,7 @@
<item>af</item>
<item>ar</item>
<item>bg</item>
<item>bn</item>
<item>my</item>
<item>cs</item>
<item>de</item>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/untranslated_strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Look here for language names and codes: http://en.fr.open-tran.eu/
<string name="lang_arabic">ar: العربية</string>
<string name="lang_azerbaijani">az: Azərbaycan</string>
<string name="lang_belarusian">be: беларуская</string>
<string name="lang_bengali">bn: বাংলা ভাষা (Begnali)</string>
<string name="lang_bengali">bn: বাংলা ভাষা (Bengali)</string>
<string name="lang_burmese">my: မြန်မာစာ (Burmese)</string>
<string name="lang_bulgarian">bg: български</string>
<string name="lang_czech">cs: Čeština</string>
Expand Down

0 comments on commit f0c636c

Please sign in to comment.