diff --git a/examples/llama.android/app/src/main/java/com/example/llama/util/FormatUtils.kt b/examples/llama.android/app/src/main/java/com/example/llama/util/FormatUtils.kt index fb795df678..08077e3a6e 100644 --- a/examples/llama.android/app/src/main/java/com/example/llama/util/FormatUtils.kt +++ b/examples/llama.android/app/src/main/java/com/example/llama/util/FormatUtils.kt @@ -73,35 +73,56 @@ private fun countryCodeToFlagEmoji(countryCode: String): String? { private val LANGUAGE_TO_COUNTRY by lazy { mapOf( - "en" to "US", - "de" to "DE", - "fr" to "FR", - "it" to "IT", - "es" to "ES", - "pt" to "BR", - "hi" to "IN", - "th" to "TH", - "ja" to "JP", - "ko" to "KR", - "zh" to "CN", - "ru" to "RU", + "af" to "ZA", + "am" to "ET", "ar" to "SA", - "nl" to "NL", - "sv" to "SE", - "fi" to "FI", - "pl" to "PL", - "tr" to "TR", - "vi" to "VN", - "el" to "GR", - "he" to "IL", - "id" to "ID", - "ms" to "MY", - "no" to "NO", - "da" to "DK", + "bg" to "BG", + "bn" to "BD", "cs" to "CZ", + "da" to "DK", + "de" to "DE", + "el" to "GR", + "en" to "US", + "es" to "ES", + "et" to "EE", + "fa" to "IR", + "fi" to "FI", + "fil" to "PH", + "fr" to "FR", + "he" to "IL", + "hi" to "IN", + "hr" to "HR", "hu" to "HU", + "id" to "ID", + "it" to "IT", + "ja" to "JP", + "kn" to "IN", + "ko" to "KR", + "lt" to "LT", + "lv" to "LV", + "ml" to "IN", + "mr" to "IN", + "ms" to "MY", + "nl" to "NL", + "no" to "NO", + "pa" to "IN", + "pl" to "PL", + "pt" to "PT", "ro" to "RO", + "ru" to "RU", "sk" to "SK", + "sl" to "SI", + "sr" to "RS", + "sv" to "SE", + "sw" to "KE", + "ta" to "LK", + "te" to "IN", + "th" to "TH", + "tr" to "TR", "uk" to "UA", + "ur" to "PK", + "vi" to "VN", + "zh" to "CN", + "zu" to "ZA", ) }