Skip to content

Commit

Permalink
Added support for Nahuatl in language picker
Browse files Browse the repository at this point in the history
  • Loading branch information
bitmold committed Jan 19, 2024
1 parent 4d0361e commit 7fd3840
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class Languages private constructor(activity: Activity) {
Locale("gu"),
Locale("guc"),
Locale("gum"),
Locale("nah"),
Locale("hi"),
Locale("hr"), Locale("hu"), Locale("hy","AM"),
Locale("ia"),
Expand Down Expand Up @@ -181,6 +182,8 @@ class Languages private constructor(activity: Activity) {
}
else if (locale.language.equals("guc")) {
tmpMap["guc"] = "Wayuu"
} else if (locale.language.equals("nah")) {
tmpMap["nah"] = "Nahuatl"
}
else {
tmpMap[locale.toString()] = locale.getDisplayLanguage(locale) + " " + locale.getDisplayCountry(locale)
Expand Down

0 comments on commit 7fd3840

Please sign in to comment.