All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.RegionNames_short.generated.kt Maven / Gradle / Ivy

There is a newer version: 0.13.0
Show newest version
// This file was automatically generated using the 'generateCode' Gradle task. Do not edit manually.
package io.fluidsonic.i18n.data

import kotlin.Int
import kotlin.String

fun localizedNameForRegion_short(
  query: Int,
  language: Int,
  script: Int,
  region: Int,
  variant: Int
): String? = when (language) {
  1 -> localizedNameForRegion_short_af(query, script, region, variant)
  4 -> localizedNameForRegion_short_am(query, script, region, variant)
  5 -> localizedNameForRegion_short_ar(query, script, region, variant)
  6 -> localizedNameForRegion_short_as(query, script, region, variant)
  8 -> localizedNameForRegion_short_ast(query, script, region, variant)
  9 -> localizedNameForRegion_short_az(query, script, region, variant)
  11 -> localizedNameForRegion_short_be(query, script, region, variant)
  14 -> localizedNameForRegion_short_bg(query, script, region, variant)
  16 -> localizedNameForRegion_short_bn(query, script, region, variant)
  17 -> localizedNameForRegion_short_bo(query, script, region, variant)
  18 -> localizedNameForRegion_short_br(query, script, region, variant)
  20 -> localizedNameForRegion_short_bs(query, script, region, variant)
  21 -> localizedNameForRegion_short_ca(query, script, region, variant)
  22 -> localizedNameForRegion_short_ccp(query, script, region, variant)
  23 -> localizedNameForRegion_short_ce(query, script, region, variant)
  24 -> localizedNameForRegion_short_ceb(query, script, region, variant)
  26 -> localizedNameForRegion_short_chr(query, script, region, variant)
  27 -> localizedNameForRegion_short_ckb(query, script, region, variant)
  28 -> localizedNameForRegion_short_cs(query, script, region, variant)
  30 -> localizedNameForRegion_short_cy(query, script, region, variant)
  31 -> localizedNameForRegion_short_da(query, script, region, variant)
  33 -> localizedNameForRegion_short_de(query, script, region, variant)
  35 -> localizedNameForRegion_short_dsb(query, script, region, variant)
  38 -> localizedNameForRegion_short_dz(query, script, region, variant)
  40 -> localizedNameForRegion_short_ee(query, script, region, variant)
  41 -> localizedNameForRegion_short_el(query, script, region, variant)
  42 -> localizedNameForRegion_short_en(query, script, region, variant)
  44 -> localizedNameForRegion_short_es(query, script, region, variant)
  45 -> localizedNameForRegion_short_et(query, script, region, variant)
  46 -> localizedNameForRegion_short_eu(query, script, region, variant)
  48 -> localizedNameForRegion_short_fa(query, script, region, variant)
  49 -> localizedNameForRegion_short_ff(query, script, region, variant)
  50 -> localizedNameForRegion_short_fi(query, script, region, variant)
  51 -> localizedNameForRegion_short_fil(query, script, region, variant)
  52 -> localizedNameForRegion_short_fo(query, script, region, variant)
  53 -> localizedNameForRegion_short_fr(query, script, region, variant)
  54 -> localizedNameForRegion_short_fur(query, script, region, variant)
  55 -> localizedNameForRegion_short_fy(query, script, region, variant)
  56 -> localizedNameForRegion_short_ga(query, script, region, variant)
  57 -> localizedNameForRegion_short_gd(query, script, region, variant)
  58 -> localizedNameForRegion_short_gl(query, script, region, variant)
  59 -> localizedNameForRegion_short_gsw(query, script, region, variant)
  60 -> localizedNameForRegion_short_gu(query, script, region, variant)
  63 -> localizedNameForRegion_short_ha(query, script, region, variant)
  65 -> localizedNameForRegion_short_he(query, script, region, variant)
  66 -> localizedNameForRegion_short_hi(query, script, region, variant)
  67 -> localizedNameForRegion_short_hr(query, script, region, variant)
  68 -> localizedNameForRegion_short_hsb(query, script, region, variant)
  69 -> localizedNameForRegion_short_hu(query, script, region, variant)
  70 -> localizedNameForRegion_short_hy(query, script, region, variant)
  71 -> localizedNameForRegion_short_ia(query, script, region, variant)
  72 -> localizedNameForRegion_short_id(query, script, region, variant)
  73 -> localizedNameForRegion_short_ig(query, script, region, variant)
  75 -> localizedNameForRegion_short_is(query, script, region, variant)
  76 -> localizedNameForRegion_short_it(query, script, region, variant)
  77 -> localizedNameForRegion_short_ja(query, script, region, variant)
  80 -> localizedNameForRegion_short_jv(query, script, region, variant)
  81 -> localizedNameForRegion_short_ka(query, script, region, variant)
  82 -> localizedNameForRegion_short_kab(query, script, region, variant)
  85 -> localizedNameForRegion_short_kea(query, script, region, variant)
  88 -> localizedNameForRegion_short_kk(query, script, region, variant)
  90 -> localizedNameForRegion_short_kl(query, script, region, variant)
  92 -> localizedNameForRegion_short_km(query, script, region, variant)
  93 -> localizedNameForRegion_short_kn(query, script, region, variant)
  94 -> localizedNameForRegion_short_ko(query, script, region, variant)
  95 -> localizedNameForRegion_short_kok(query, script, region, variant)
  99 -> localizedNameForRegion_short_ksh(query, script, region, variant)
  100 -> localizedNameForRegion_short_ku(query, script, region, variant)
  102 -> localizedNameForRegion_short_ky(query, script, region, variant)
  104 -> localizedNameForRegion_short_lb(query, script, region, variant)
  107 -> localizedNameForRegion_short_ln(query, script, region, variant)
  108 -> localizedNameForRegion_short_lo(query, script, region, variant)
  110 -> localizedNameForRegion_short_lt(query, script, region, variant)
  114 -> localizedNameForRegion_short_lv(query, script, region, variant)
  123 -> localizedNameForRegion_short_mk(query, script, region, variant)
  124 -> localizedNameForRegion_short_ml(query, script, region, variant)
  125 -> localizedNameForRegion_short_mn(query, script, region, variant)
  127 -> localizedNameForRegion_short_mr(query, script, region, variant)
  128 -> localizedNameForRegion_short_ms(query, script, region, variant)
  129 -> localizedNameForRegion_short_mt(query, script, region, variant)
  131 -> localizedNameForRegion_short_my(query, script, region, variant)
  132 -> localizedNameForRegion_short_mzn(query, script, region, variant)
  134 -> localizedNameForRegion_short_nb(query, script, region, variant)
  136 -> localizedNameForRegion_short_nds(query, script, region, variant)
  137 -> localizedNameForRegion_short_ne(query, script, region, variant)
  138 -> localizedNameForRegion_short_nl(query, script, region, variant)
  140 -> localizedNameForRegion_short_nn(query, script, region, variant)
  145 -> localizedNameForRegion_short_or(query, script, region, variant)
  147 -> localizedNameForRegion_short_pa(query, script, region, variant)
  148 -> localizedNameForRegion_short_pcm(query, script, region, variant)
  149 -> localizedNameForRegion_short_pl(query, script, region, variant)
  150 -> localizedNameForRegion_short_prg(query, script, region, variant)
  151 -> localizedNameForRegion_short_ps(query, script, region, variant)
  152 -> localizedNameForRegion_short_pt(query, script, region, variant)
  153 -> localizedNameForRegion_short_qu(query, script, region, variant)
  156 -> localizedNameForRegion_short_ro(query, script, region, variant)
  158 -> localizedNameForRegion_short_ru(query, script, region, variant)
  161 -> localizedNameForRegion_short_sah(query, script, region, variant)
  165 -> localizedNameForRegion_short_sd(query, script, region, variant)
  166 -> localizedNameForRegion_short_se(query, script, region, variant)
  171 -> localizedNameForRegion_short_si(query, script, region, variant)
  172 -> localizedNameForRegion_short_sk(query, script, region, variant)
  173 -> localizedNameForRegion_short_sl(query, script, region, variant)
  174 -> localizedNameForRegion_short_smn(query, script, region, variant)
  176 -> localizedNameForRegion_short_so(query, script, region, variant)
  177 -> localizedNameForRegion_short_sq(query, script, region, variant)
  178 -> localizedNameForRegion_short_sr(query, script, region, variant)
  180 -> localizedNameForRegion_short_sv(query, script, region, variant)
  181 -> localizedNameForRegion_short_sw(query, script, region, variant)
  182 -> localizedNameForRegion_short_ta(query, script, region, variant)
  183 -> localizedNameForRegion_short_te(query, script, region, variant)
  185 -> localizedNameForRegion_short_tg(query, script, region, variant)
  186 -> localizedNameForRegion_short_th(query, script, region, variant)
  187 -> localizedNameForRegion_short_ti(query, script, region, variant)
  188 -> localizedNameForRegion_short_tk(query, script, region, variant)
  189 -> localizedNameForRegion_short_to(query, script, region, variant)
  190 -> localizedNameForRegion_short_tr(query, script, region, variant)
  191 -> localizedNameForRegion_short_tt(query, script, region, variant)
  194 -> localizedNameForRegion_short_ug(query, script, region, variant)
  195 -> localizedNameForRegion_short_uk(query, script, region, variant)
  196 -> localizedNameForRegion_short_ur(query, script, region, variant)
  197 -> localizedNameForRegion_short_uz(query, script, region, variant)
  198 -> localizedNameForRegion_short_vai(query, script, region, variant)
  199 -> localizedNameForRegion_short_vi(query, script, region, variant)
  202 -> localizedNameForRegion_short_wae(query, script, region, variant)
  203 -> localizedNameForRegion_short_wo(query, script, region, variant)
  207 -> localizedNameForRegion_short_yi(query, script, region, variant)
  208 -> localizedNameForRegion_short_yo(query, script, region, variant)
  209 -> localizedNameForRegion_short_yue(query, script, region, variant)
  211 -> localizedNameForRegion_short_zh(query, script, region, variant)
  212 -> localizedNameForRegion_short_zu(query, script, region, variant)
  else -> null
}

private fun localizedNameForRegion_short_af(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "VK" // GB
    138 -> "Hongkong" // HK
    192 -> "Macau" // MO
    228 -> "Palestina" // PS
    295 -> "VN" // UN
    296 -> "VSA" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_am(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "ዩኬ" // GB
    138 -> "ሆንግ ኮንግ" // HK
    192 -> "ማካኡ" // MO
    228 -> "ፍልስጥኤም" // PS
    295 -> "የተመ" // UN
    296 -> "ዩ ኤስ" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_ar(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? = when (region) {
  // ar
  0 -> when (script == 0 && variant == 0) {
    true -> when (query) {
      120 -> "المملكة المتحدة" // GB
      138 -> "هونغ كونغ" // HK
      192 -> "مكاو" // MO
      228 -> "فلسطين" // PS
      295 -> "الأمم المتحدة" // UN
      296 -> "الولايات المتحدة" // US
      else -> null
    }
    false -> null
  }
  // ar-SA
  252 -> when (script == 0 && variant == 0) {
    true -> when (query) {
      192 -> "ماكاو" // MO
      else -> null
    }
    false -> null
  }
  else -> null
}

private fun localizedNameForRegion_short_as(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "ইউ. কে." // GB
    138 -> "হং কং" // HK
    192 -> "মাকাও" // MO
    228 -> "ফিলিস্তিন" // PS
    296 -> "মা. যু." // US
    else -> null
  }
}

private fun localizedNameForRegion_short_ast(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "RX" // GB
    138 -> "Ḥong Kong" // HK
    192 -> "Macáu" // MO
    228 -> "Palestina" // PS
    296 -> "EE.XX." // US
    else -> null
  }
}

private fun localizedNameForRegion_short_az(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? = when (region) {
  // region = 
  0 -> when (script) {
    // az
    0 -> when (variant == 0) {
      true -> when (query) {
        120 -> "BK" // GB
        138 -> "Honq Konq" // HK
        192 -> "Makao" // MO
        228 -> "Fələstin" // PS
        295 -> "BMT" // UN
        296 -> "ABŞ" // US
        else -> null
      }
      false -> null
    }
    // az-Cyrl
    1 -> when (variant == 0) {
      true -> when (query) {
        120 -> "БК" // GB
        138 -> "Һонг Конг" // HK
        192 -> "Макао" // MO
        296 -> "АБШ" // US
        else -> null
      }
      false -> null
    }
    else -> null
  }
  else -> null
}

private fun localizedNameForRegion_short_be(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "Вялікабрытанія" // GB
    138 -> "Ганконг" // HK
    192 -> "Макаа" // MO
    228 -> "Палесціна" // PS
    296 -> "ЗША" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_bg(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "Обединеното кралство" // GB
    138 -> "Хонконг" // HK
    192 -> "Макао" // MO
    228 -> "Палестина" // PS
    296 -> "САЩ" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_bn(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "ইউ কে" // GB
    138 -> "হংকং" // HK
    192 -> "ম্যাকাও" // MO
    228 -> "ফিলিস্তিন" // PS
    295 -> "ইউএন" // UN
    296 -> "ইউ এস" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_bo(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    138 -> "ཧོང་ཀོང༌།" // HK
    192 -> "མེ་ཀའོ།" // MO
    else -> null
  }
}

private fun localizedNameForRegion_short_br(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "RU" // GB
    138 -> "Hong Kong" // HK
    192 -> "Macau" // MO
    228 -> "Palestina" // PS
    296 -> "SU" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_bs(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? = when (region) {
  // region = 
  0 -> when (script) {
    // bs
    0 -> when (variant == 0) {
      true -> when (query) {
        120 -> "UK" // GB
        138 -> "Hong Kong" // HK
        192 -> "Makao" // MO
        228 -> "Palestina" // PS
        295 -> "UN" // UN
        296 -> "SAD" // US
        else -> null
      }
      false -> null
    }
    // bs-Cyrl
    1 -> when (variant == 0) {
      true -> when (query) {
        120 -> "УК" // GB
        138 -> "Хонг Конг" // HK
        192 -> "Макао" // MO
        228 -> "Палестина" // PS
        296 -> "САД" // US
        else -> null
      }
      false -> null
    }
    else -> null
  }
  else -> null
}

private fun localizedNameForRegion_short_ca(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "RU" // GB
    138 -> "Hong Kong" // HK
    192 -> "Macau" // MO
    228 -> "Palestina" // PS
    295 -> "ONU" // UN
    296 -> "EUA" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_ccp(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "𑄄𑄃𑄪𑄇𑄬" // GB
    138 -> "𑄦𑄧𑄁𑄇𑄧𑄁" // HK
    192 -> "𑄟𑄳𑄠𑄇𑄃𑄮" // MO
    228 -> "𑄜𑄨𑄣𑄨𑄌𑄴𑄖𑄨𑄚𑄴" // PS
    295 -> "𑄃𑄨𑄃𑄪𑄃𑄬𑄚𑄴" // UN
    296 -> "𑄃𑄨𑄃𑄪𑄃𑄬𑄌𑄴" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_ce(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "Йоккха Британи" // GB
    138 -> "Гонконг" // HK
    192 -> "Макао" // MO
    228 -> "ПалестӀина" // PS
    296 -> "АЦШ" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_ceb(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "UK" // GB
    138 -> "Hong Kong" // HK
    192 -> "Macao" // MO
    228 -> "Palestine" // PS
    296 -> "US" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_chr(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "UK" // GB
    138 -> "ᎰᏂᎩ ᎪᏂᎩ" // HK
    192 -> "ᎹᎧᎣ" // MO
    228 -> "ᏆᎴᏍᏗᏂ" // PS
    296 -> "US" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_ckb(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "شانشینی یەکگرتوو" // GB
    138 -> "هۆنگ کۆنگ" // HK
    192 -> "ماکائۆ" // MO
    228 -> "فەلەستین" // PS
    296 -> "ویلایەتە یەکگرتووەکان" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_cs(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "GB" // GB
    138 -> "Hongkong" // HK
    192 -> "Macao" // MO
    228 -> "Palestina" // PS
    295 -> "OSN" // UN
    296 -> "USA" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_cy(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "DU" // GB
    138 -> "Hong Kong" // HK
    192 -> "Macau" // MO
    228 -> "Palesteina" // PS
    295 -> "UN" // UN
    296 -> "UDA" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_da(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "UK" // GB
    138 -> "Hongkong" // HK
    192 -> "Macao" // MO
    228 -> "Palæstina" // PS
    295 -> "FN" // UN
    296 -> "USA" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_de(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "GB" // GB
    138 -> "Hongkong" // HK
    192 -> "Macau" // MO
    228 -> "Palästina" // PS
    295 -> "UN" // UN
    296 -> "USA" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_dsb(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "UK" // GB
    138 -> "Hongkong" // HK
    192 -> "Macao" // MO
    228 -> "Palestina" // PS
    296 -> "USA" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_dz(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    138 -> "ཧོང་ཀོང" // HK
    192 -> "མཀ་ཨའུ" // MO
    else -> null
  }
}

private fun localizedNameForRegion_short_ee(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    138 -> "Hɔng Kɔng nutome" // HK
    192 -> "Macau nutome" // MO
    else -> null
  }
}

private fun localizedNameForRegion_short_el(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "ΗΒ" // GB
    138 -> "Χονγκ Κονγκ" // HK
    192 -> "Μακάο" // MO
    228 -> "Παλαιστίνη" // PS
    295 -> "ΟΗΕ" // UN
    296 -> "ΗΠΑ" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_en(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? = when (region) {
  // en
  0 -> when (script == 0 && variant == 0) {
    true -> when (query) {
      51 -> "Bosnia" // BA
      120 -> "UK" // GB
      138 -> "Hong Kong" // HK
      190 -> "Myanmar" // MM
      192 -> "Macao" // MO
      228 -> "Palestine" // PS
      295 -> "UN" // UN
      296 -> "US" // US
      else -> null
    }
    false -> null
  }
  // en-GB
  120 -> when (script == 0 && variant == 0) {
    true -> when (query) {
      120 -> "UK" // GB
      138 -> "Hong Kong" // HK
      228 -> "Palestine" // PS
      296 -> "US" // US
      else -> null
    }
    false -> null
  }
  else -> null
}

private fun localizedNameForRegion_short_es(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? = when (region) {
  // es
  0 -> when (script == 0 && variant == 0) {
    true -> when (query) {
      120 -> "RU" // GB
      138 -> "Hong Kong" // HK
      192 -> "Macao" // MO
      228 -> "Palestina" // PS
      296 -> "EE. UU." // US
      else -> null
    }
    false -> null
  }
  // es-419
  31 -> when (script == 0 && variant == 0) {
    true -> when (query) {
      120 -> "R. U." // GB
      138 -> "Hong Kong" // HK
      192 -> "Macao" // MO
      228 -> "Palestina" // PS
      296 -> "EE. UU." // US
      else -> null
    }
    false -> null
  }
  // es-AR
  44 -> when (script == 0 && variant == 0) {
    true -> when (query) {
      120 -> "RU" // GB
      else -> null
    }
    false -> null
  }
  // es-BO
  63 -> when (script == 0 && variant == 0) {
    true -> when (query) {
      120 -> "RU" // GB
      else -> null
    }
    false -> null
  }
  // es-CL
  81 -> when (script == 0 && variant == 0) {
    true -> when (query) {
      120 -> "RU" // GB
      else -> null
    }
    false -> null
  }
  // es-CO
  84 -> when (script == 0 && variant == 0) {
    true -> when (query) {
      120 -> "RU" // GB
      else -> null
    }
    false -> null
  }
  // es-CR
  86 -> when (script == 0 && variant == 0) {
    true -> when (query) {
      120 -> "RU" // GB
      else -> null
    }
    false -> null
  }
  // es-DO
  100 -> when (script == 0 && variant == 0) {
    true -> when (query) {
      120 -> "RU" // GB
      else -> null
    }
    false -> null
  }
  // es-EC
  103 -> when (script == 0 && variant == 0) {
    true -> when (query) {
      120 -> "RU" // GB
      else -> null
    }
    false -> null
  }
  // es-GT
  134 -> when (script == 0 && variant == 0) {
    true -> when (query) {
      120 -> "RU" // GB
      else -> null
    }
    false -> null
  }
  // es-HN
  140 -> when (script == 0 && variant == 0) {
    true -> when (query) {
      120 -> "RU" // GB
      else -> null
    }
    false -> null
  }
  // es-MX
  201 -> when (script == 0 && variant == 0) {
    true -> when (query) {
      120 -> "RU" // GB
      296 -> "EE. UU." // US
      else -> null
    }
    false -> null
  }
  // es-NI
  209 -> when (script == 0 && variant == 0) {
    true -> when (query) {
      120 -> "RU" // GB
      else -> null
    }
    false -> null
  }
  // es-PA
  218 -> when (script == 0 && variant == 0) {
    true -> when (query) {
      120 -> "RU" // GB
      else -> null
    }
    false -> null
  }
  // es-PE
  219 -> when (script == 0 && variant == 0) {
    true -> when (query) {
      120 -> "RU" // GB
      else -> null
    }
    false -> null
  }
  // es-PY
  231 -> when (script == 0 && variant == 0) {
    true -> when (query) {
      120 -> "RU" // GB
      else -> null
    }
    false -> null
  }
  // es-US
  296 -> when (script == 0 && variant == 0) {
    true -> when (query) {
      120 -> "RU" // GB
      296 -> "EE. UU." // US
      else -> null
    }
    false -> null
  }
  // es-VE
  301 -> when (script == 0 && variant == 0) {
    true -> when (query) {
      120 -> "RU" // GB
      else -> null
    }
    false -> null
  }
  else -> null
}

private fun localizedNameForRegion_short_et(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "ÜK" // GB
    138 -> "Hongkong" // HK
    192 -> "Macau" // MO
    228 -> "Palestiina" // PS
    295 -> "ÜRO" // UN
    296 -> "USA" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_eu(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "EB" // GB
    138 -> "Hong Kong" // HK
    192 -> "Macau" // MO
    228 -> "Palestina" // PS
    296 -> "AEB" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_fa(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? = when (region) {
  // fa
  0 -> when (script == 0 && variant == 0) {
    true -> when (query) {
      120 -> "بریتانیا" // GB
      138 -> "هنگ‌کنگ" // HK
      192 -> "ماکائو" // MO
      228 -> "فلسطین" // PS
      252 -> "عربستان" // SA
      295 -> "سازمان ملل" // UN
      296 -> "ایالات متحده" // US
      else -> null
    }
    false -> null
  }
  // fa-AF
  36 -> when (script == 0 && variant == 0) {
    true -> when (query) {
      138 -> "هانگ کانگ" // HK
      else -> null
    }
    false -> null
  }
  else -> null
}

private fun localizedNameForRegion_short_ff(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 3 || variant != 0) {
    return null
  }
  return when (query) {
    296 -> "𞤁𞤂𞤀" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_fi(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "Britannia" // GB
    138 -> "Hongkong" // HK
    192 -> "Macao" // MO
    228 -> "Palestiina" // PS
    295 -> "YK" // UN
    296 -> "USA" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_fil(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "U.K." // GB
    138 -> "Hong Kong" // HK
    192 -> "Macau" // MO
    228 -> "Palestine" // PS
    295 -> "UN" // UN
    296 -> "U.S." // US
    else -> null
  }
}

private fun localizedNameForRegion_short_fo(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "UK" // GB
    138 -> "Hong Kong" // HK
    192 -> "Makao" // MO
    228 -> "Palestina" // PS
    296 -> "USA" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_fr(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? = when (region) {
  // fr
  0 -> when (script == 0 && variant == 0) {
    true -> when (query) {
      120 -> "R.-U." // GB
      138 -> "Hong Kong" // HK
      192 -> "Macao" // MO
      228 -> "Palestine" // PS
      295 -> "NU" // UN
      296 -> "É.-U." // US
      else -> null
    }
    false -> null
  }
  // fr-CA
  73 -> when (script == 0 && variant == 0) {
    true -> when (query) {
      120 -> "R.-U." // GB
      138 -> "Hong Kong" // HK
      192 -> "Macao" // MO
      228 -> "Palestine" // PS
      296 -> "É.-U." // US
      else -> null
    }
    false -> null
  }
  else -> null
}

private fun localizedNameForRegion_short_fur(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    138 -> "Hong Kong" // HK
    192 -> "Macao" // MO
    else -> null
  }
}

private fun localizedNameForRegion_short_fy(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "VK" // GB
    138 -> "Hongkong" // HK
    192 -> "Macao" // MO
    228 -> "Palestina" // PS
    296 -> "VS" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_ga(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "RA" // GB
    138 -> "Hong Cong" // HK
    192 -> "Macao" // MO
    228 -> "an Phalaistín" // PS
    295 -> "NA" // UN
    296 -> "SAM" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_gd(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "RA" // GB
    138 -> "Hong Kong" // HK
    192 -> "Macàthu" // MO
    228 -> "Palastain" // PS
    296 -> "SA" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_gl(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "RU" // GB
    138 -> "Hong Kong" // HK
    192 -> "Macau" // MO
    228 -> "Palestina" // PS
    295 -> "ONU" // UN
    296 -> "EUA" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_gsw(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    138 -> "Hongkong" // HK
    192 -> "Macao" // MO
    296 -> "USA" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_gu(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "યુ.કે." // GB
    138 -> "હોંગકોંગ" // HK
    192 -> "મકાઉ" // MO
    228 -> "પેલેસ્ટાઇન" // PS
    295 -> "યૂએન" // UN
    296 -> "યુ.એસ." // US
    else -> null
  }
}

private fun localizedNameForRegion_short_ha(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? = when (region) {
  // ha
  0 -> when (script == 0 && variant == 0) {
    true -> when (query) {
      228 -> "Palasɗinu" // PS
      else -> null
    }
    false -> null
  }
  // ha-NE
  206 -> when (script == 0 && variant == 0) {
    true -> when (query) {
      228 -> "Palasɗinu" // PS
      else -> null
    }
    false -> null
  }
  else -> null
}

private fun localizedNameForRegion_short_he(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "בריטניה" // GB
    138 -> "הונג קונג" // HK
    192 -> "מקאו" // MO
    228 -> "פלסטין" // PS
    296 -> "ארה״ב" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_hi(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "यू॰के॰" // GB
    138 -> "हाँग काँग" // HK
    192 -> "मकाऊ" // MO
    228 -> "फ़िलिस्तीन" // PS
    295 -> "संयुक्त राष्ट्र" // UN
    296 -> "अमेरिका" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_hr(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "UK" // GB
    138 -> "Hong Kong" // HK
    192 -> "Makao" // MO
    228 -> "Palestina" // PS
    295 -> "UN" // UN
    296 -> "SAD" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_hsb(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "UK" // GB
    138 -> "Hongkong" // HK
    192 -> "Macao" // MO
    228 -> "Palestina" // PS
    296 -> "USA" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_hu(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "UK" // GB
    138 -> "Hongkong" // HK
    192 -> "Makaó" // MO
    228 -> "Palesztina" // PS
    295 -> "ENSZ" // UN
    296 -> "USA" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_hy(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "ՄԹ" // GB
    138 -> "Հոնկոնգ" // HK
    192 -> "Մակաո" // MO
    228 -> "Պաղեստին" // PS
    295 -> "ՄԱԿ" // UN
    296 -> "ԱՄՆ" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_ia(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "GB" // GB
    296 -> "SUA" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_id(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "UK" // GB
    138 -> "Hong Kong" // HK
    192 -> "Makau" // MO
    228 -> "Palestina" // PS
    295 -> "PBB" // UN
    296 -> "A.S." // US
    else -> null
  }
}

private fun localizedNameForRegion_short_ig(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "UK" // GB
    else -> null
  }
}

private fun localizedNameForRegion_short_is(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "Bretland" // GB
    138 -> "Hong Kong" // HK
    192 -> "Makaó" // MO
    228 -> "Palestína" // PS
    295 -> "SÞ" // UN
    296 -> "BNA" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_it(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "UK" // GB
    138 -> "Hong Kong" // HK
    192 -> "Macao" // MO
    228 -> "Palestina" // PS
    295 -> "ONU" // UN
    296 -> "USA" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_ja(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "英国" // GB
    138 -> "香港" // HK
    192 -> "マカオ" // MO
    228 -> "パレスチナ" // PS
    295 -> "国連" // UN
    296 -> "アメリカ" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_jv(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "KM" // GB
    138 -> "Hong Kong" // HK
    192 -> "Macau" // MO
    228 -> "Palèstina" // PS
    296 -> "AS" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_ka(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "გაერთ.სამ." // GB
    138 -> "ჰონკონგი" // HK
    192 -> "მაკაო" // MO
    228 -> "პალესტინა" // PS
    295 -> "გაერო" // UN
    296 -> "აშშ" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_kab(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "Tag.Yed" // GB
    138 -> "Hung Kung" // HK
    192 -> "Makaw" // MO
    228 -> "Falisṭin" // PS
    296 -> "US" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_kea(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "R.U." // GB
    138 -> "Hong Kong" // HK
    192 -> "Makau" // MO
    228 -> "Palistina" // PS
    296 -> "S.U." // US
    else -> null
  }
}

private fun localizedNameForRegion_short_kk(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "Ұлыбритания" // GB
    138 -> "Сянган" // HK
    192 -> "Макао" // MO
    228 -> "Палестина" // PS
    295 -> "БҰҰ" // UN
    296 -> "АҚШ" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_kl(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "Tuluit Nunaat" // GB
    138 -> "Hongkong" // HK
    192 -> "Macao" // MO
    296 -> "USA" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_km(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "ច.អ." // GB
    138 -> "ហុងកុង តំបន់រដ្ឋបាលពិសេសចិន" // HK
    192 -> "ម៉ាកាវ" // MO
    228 -> "ប៉ាលេស្ទីន" // PS
    295 -> "UN" // UN
    296 -> "ស.រ.អ" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_kn(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "ಯು.ಕೆ." // GB
    138 -> "ಹಾಂಗ್ ಕಾಂಗ್" // HK
    192 -> "ಮಕಾವು" // MO
    228 -> "ಪ್ಯಾಲೆಸ್ಟೈನ್" // PS
    295 -> "ಯುಎನ್" // UN
    296 -> "ಯು.ಎಸ್" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_ko(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "영국" // GB
    138 -> "홍콩" // HK
    192 -> "마카오" // MO
    228 -> "팔레스타인" // PS
    295 -> "유엔" // UN
    296 -> "미국" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_kok(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "युके" // GB
    138 -> "हाँग काँग" // HK
    192 -> "मकाव" // MO
    228 -> "पेलेस्टायन" // PS
    296 -> "युएस" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_ksh(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "Jruußbrettannije" // GB
    138 -> "Hongkong" // HK
    192 -> "Makau" // MO
    296 -> "USA" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_ku(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "KY" // GB
    138 -> "Hong Kong" // HK
    192 -> "Makao" // MO
    228 -> "Filistîn" // PS
    296 -> "DYA" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_ky(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "УБ" // GB
    138 -> "Гонконг" // HK
    192 -> "Макау" // MO
    228 -> "Палестина" // PS
    296 -> "АКШ" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_lb(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "GB" // GB
    138 -> "Hong Kong" // HK
    192 -> "Macau" // MO
    228 -> "Palestina" // PS
    296 -> "US" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_ln(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    138 -> "Hong Kong" // HK
    192 -> "Makau" // MO
    else -> null
  }
}

private fun localizedNameForRegion_short_lo(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "ສະຫະລາດຊະອະນາຈັກຯ" // GB
    138 -> "ຮົງກົງ" // HK
    192 -> "ມາກາວ" // MO
    228 -> "ປາເລສຕາຍ" // PS
    295 -> "ຢູເອັນ" // UN
    296 -> "ສະຫະລັດຯ" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_lt(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "JK" // GB
    138 -> "Honkongas" // HK
    192 -> "Makao" // MO
    228 -> "Palestina" // PS
    295 -> "JT" // UN
    296 -> "JAV" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_lv(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "Apvienotā Karaliste" // GB
    138 -> "Honkonga" // HK
    192 -> "Makao" // MO
    228 -> "Palestīna" // PS
    295 -> "ANO" // UN
    296 -> "ASV" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_mk(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "ОК" // GB
    138 -> "Хонг Конг" // HK
    192 -> "Макао" // MO
    228 -> "Палестина" // PS
    295 -> "ОН" // UN
    296 -> "САД" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_ml(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "യു.കെ." // GB
    138 -> "ഹോങ്കോങ്" // HK
    192 -> "മക്കാവു" // MO
    228 -> "പലസ്‌തീൻ" // PS
    295 -> "യുഎൻ" // UN
    296 -> "യു.എസ്" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_mn(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "ИБ" // GB
    138 -> "Хонг Конг" // HK
    192 -> "Макао" // MO
    228 -> "Палестин" // PS
    295 -> "НҮБ" // UN
    296 -> "АНУ" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_mr(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "यू.के." // GB
    138 -> "हाँगकाँग" // HK
    192 -> "मकाओ" // MO
    228 -> "पॅलेस्टाईन" // PS
    295 -> "यूएन" // UN
    296 -> "यू.एस." // US
    else -> null
  }
}

private fun localizedNameForRegion_short_ms(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "UK" // GB
    138 -> "Hong Kong" // HK
    192 -> "Macau" // MO
    228 -> "Palestin" // PS
    295 -> "PBB" // UN
    296 -> "A.S" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_mt(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "UK" // GB
    138 -> "Hong Kong" // HK
    192 -> "il-Macao" // MO
    228 -> "il-Palestina" // PS
    296 -> "US" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_my(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "ယူကေ" // GB
    138 -> "ဟောင်ကောင်" // HK
    192 -> "မကာအို" // MO
    228 -> "ပါလက်စတိုင်း" // PS
    295 -> "ကုလသမဂ္ဂ" // UN
    296 -> "ယူအက်စ်" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_mzn(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "بریتانیا" // GB
    138 -> "هونگ کونگ" // HK
    192 -> "ماکائو" // MO
    228 -> "فلسطین" // PS
    296 -> "آمریکا متحده ایالات" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_nb(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "Storbritannia" // GB
    138 -> "Hongkong" // HK
    192 -> "Macao" // MO
    228 -> "Palestina" // PS
    295 -> "FN" // UN
    296 -> "USA" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_nds(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    138 -> "Hongkong" // HK
    192 -> "Macao" // MO
    else -> null
  }
}

private fun localizedNameForRegion_short_ne(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "युके" // GB
    138 -> "हङकङ" // HK
    192 -> "मकाउ" // MO
    228 -> "प्यालेसटाइन" // PS
    295 -> "यूएन" // UN
    296 -> "अमेरिका" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_nl(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "VK" // GB
    138 -> "Hongkong" // HK
    192 -> "Macau" // MO
    228 -> "Palestina" // PS
    295 -> "VN" // UN
    296 -> "VS" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_nn(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "Storbritannia" // GB
    138 -> "Hongkong" // HK
    192 -> "Macao" // MO
    228 -> "Palestina" // PS
    296 -> "USA" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_or(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "ୟୁକେ" // GB
    138 -> "ହଂ କଂ" // HK
    192 -> "ମାକାଉ" // MO
    228 -> "ପାଲେଷ୍ଟାଇନ୍" // PS
    296 -> "ଯୁକ୍ତରାଷ୍ଟ୍ର" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_pa(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "ਯੂ.ਕੇ." // GB
    138 -> "ਹਾਂਗ ਕਾਂਗ" // HK
    192 -> "ਮਕਾਉ" // MO
    228 -> "ਫਿਲੀਸਤੀਨ" // PS
    295 -> "ਯੂ.ਐੱਨ." // UN
    296 -> "ਯੂ.ਐੱਸ." // US
    else -> null
  }
}

private fun localizedNameForRegion_short_pcm(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "UK" // GB
    138 -> "Họng Kọng" // HK
    192 -> "Makáo" // MO
    228 -> "Pálẹ́stain" // PS
    296 -> "US" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_pl(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "Wlk. Bryt." // GB
    138 -> "Hongkong" // HK
    192 -> "Makau" // MO
    228 -> "Palestyna" // PS
    295 -> "ONZ" // UN
    296 -> "USA" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_prg(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "DB" // GB
    296 -> "PW" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_ps(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "انګلستان" // GB
    138 -> "هانګ کانګ" // HK
    192 -> "مکاو" // MO
    228 -> "فلسطين" // PS
    296 -> "متحده آيالات" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_pt(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? = when (region) {
  // pt
  0 -> when (script == 0 && variant == 0) {
    true -> when (query) {
      120 -> "Reino Unido" // GB
      138 -> "Hong Kong" // HK
      192 -> "Macau" // MO
      228 -> "Palestina" // PS
      295 -> "ONU" // UN
      296 -> "EUA" // US
      else -> null
    }
    false -> null
  }
  // pt-PT
  229 -> when (script == 0 && variant == 0) {
    true -> when (query) {
      120 -> "GB" // GB
      138 -> "Hong Kong" // HK
      192 -> "Macau" // MO
      228 -> "Palestina" // PS
      295 -> "ONU" // UN
      296 -> "EUA" // US
      else -> null
    }
    false -> null
  }
  else -> null
}

private fun localizedNameForRegion_short_qu(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "Reino Unido" // GB
    296 -> "Estados Unidos" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_ro(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "Regatul Unit" // GB
    138 -> "Hong Kong" // HK
    192 -> "Macao" // MO
    228 -> "Palestina" // PS
    295 -> "ONU" // UN
    296 -> "S.U.A." // US
    else -> null
  }
}

private fun localizedNameForRegion_short_ru(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "Британия" // GB
    138 -> "Гонконг" // HK
    192 -> "Макао" // MO
    228 -> "Палестина" // PS
    295 -> "ООН" // UN
    296 -> "США" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_sah(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    296 -> "АХШ" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_sd(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "برطانيه" // GB
    138 -> "هانگ ڪانگ" // HK
    192 -> "مڪائو" // MO
    228 -> "فلسطين" // PS
    296 -> "يوايس" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_se(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "Stuorra-Británnia" // GB
    138 -> "Hongkong" // HK
    192 -> "Makáo" // MO
    228 -> "Palestina" // PS
    296 -> "USA" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_si(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "එ.රා" // GB
    138 -> "හොංකොං" // HK
    192 -> "මකාවු" // MO
    228 -> "පලස්තීනය" // PS
    295 -> "එක්සත් ජාතීන්" // UN
    296 -> "එ.ජ" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_sk(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "UK" // GB
    138 -> "Hongkong" // HK
    192 -> "Macao" // MO
    228 -> "Palestínska samospráva" // PS
    295 -> "OSN" // UN
    296 -> "USA" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_sl(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "ZK" // GB
    138 -> "Hongkong" // HK
    192 -> "Posebno administrativno območje LR Kitajske Macao" // MO
    228 -> "Palestina" // PS
    295 -> "ZN" // UN
    296 -> "ZDA" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_smn(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "OK" // GB
    138 -> "Hong Kong" // HK
    192 -> "Macao" // MO
    296 -> "USA" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_so(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "UK" // GB
    138 -> "Hong Kong" // HK
    192 -> "Makaaw" // MO
    228 -> "Falastiin" // PS
    else -> null
  }
}

private fun localizedNameForRegion_short_sq(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "MB" // GB
    138 -> "Hong-Kong" // HK
    192 -> "Makao" // MO
    228 -> "Palestinë" // PS
    295 -> "OKB" // UN
    296 -> "SHBA" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_sr(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? = when (region) {
  // region = 
  0 -> when (script) {
    // sr
    0 -> when (variant == 0) {
      true -> when (query) {
        120 -> "УК" // GB
        138 -> "Хонгконг" // HK
        192 -> "Макао" // MO
        228 -> "Палестина" // PS
        295 -> "УН" // UN
        296 -> "САД" // US
        else -> null
      }
      false -> null
    }
    // sr-Latn
    2 -> when (variant == 0) {
      true -> when (query) {
        120 -> "UK" // GB
        138 -> "Hongkong" // HK
        192 -> "Makao" // MO
        228 -> "Palestina" // PS
        295 -> "UN" // UN
        296 -> "SAD" // US
        else -> null
      }
      false -> null
    }
    else -> null
  }
  else -> null
}

private fun localizedNameForRegion_short_sv(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "Storbritannien" // GB
    138 -> "Hongkong" // HK
    192 -> "Macao" // MO
    228 -> "Palestina" // PS
    295 -> "FN" // UN
    296 -> "USA" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_sw(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? = when (region) {
  // sw
  0 -> when (script == 0 && variant == 0) {
    true -> when (query) {
      120 -> "Ufalme wa Muungano" // GB
      138 -> "Hong Kong" // HK
      192 -> "Makau" // MO
      228 -> "Palestina" // PS
      295 -> "Umoja wa Mataifa" // UN
      296 -> "US" // US
      else -> null
    }
    false -> null
  }
  // sw-KE
  159 -> when (script == 0 && variant == 0) {
    true -> when (query) {
      192 -> "Makau" // MO
      else -> null
    }
    false -> null
  }
  else -> null
}

private fun localizedNameForRegion_short_ta(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "யூகே" // GB
    138 -> "ஹாங்காங்" // HK
    192 -> "மகாவ்" // MO
    228 -> "பாலஸ்தீனம்" // PS
    295 -> "ஐநா" // UN
    296 -> "யூஎஸ்" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_te(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "యు.కె." // GB
    138 -> "హాంకాంగ్" // HK
    192 -> "మకావ్" // MO
    228 -> "పాలస్తీనా" // PS
    295 -> "యు.ఎన్" // UN
    296 -> "యు.ఎస్." // US
    else -> null
  }
}

private fun localizedNameForRegion_short_tg(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    138 -> "Ҳонконг" // HK
    192 -> "Макао" // MO
    296 -> "ИМ" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_th(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "สหราชอาณาจักร" // GB
    138 -> "ฮ่องกง" // HK
    192 -> "มาเก๊า" // MO
    228 -> "ปาเลสไตน์" // PS
    295 -> "สหประชาชาติ" // UN
    296 -> "สหรัฐฯ" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_ti(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "ዩኬይ" // GB
    138 -> "ሆንግ ኮንግ" // HK
    192 -> "ማካው" // MO
    228 -> "ፍልስጤም" // PS
    296 -> "ዩኤስ" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_tk(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "Birleşen Patyşalyk" // GB
    138 -> "Gonkong" // HK
    192 -> "Makao" // MO
    228 -> "Palestina" // PS
    296 -> "ABŞ" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_to(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "Pilitānia" // GB
    138 -> "Hongi Kongi" // HK
    192 -> "Makau" // MO
    228 -> "Palesitaine" // PS
    296 -> "ʻAmelika" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_tr(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "BK" // GB
    138 -> "Hong Kong" // HK
    192 -> "Makao" // MO
    228 -> "Filistin" // PS
    295 -> "BM" // UN
    296 -> "ABD" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_tt(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    138 -> "Гонконг" // HK
    192 -> "Макао" // MO
    else -> null
  }
}

private fun localizedNameForRegion_short_ug(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "ئەنگلىيە" // GB
    138 -> "شياڭگاڭ" // HK
    192 -> "ئاۋمېن" // MO
    228 -> "پەلەستىن" // PS
    296 -> "ئا ق ش" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_uk(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "Велика Британія" // GB
    138 -> "Гонконг" // HK
    192 -> "Макао" // MO
    228 -> "Палестина" // PS
    295 -> "ООН" // UN
    296 -> "США" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_ur(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "یو کے" // GB
    138 -> "ہانگ کانگ" // HK
    192 -> "مکاؤ" // MO
    228 -> "فلسطین" // PS
    295 -> "اقوام متحدہ" // UN
    296 -> "امریکا" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_uz(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? = when (region) {
  // region = 
  0 -> when (script) {
    // uz
    0 -> when (variant == 0) {
      true -> when (query) {
        120 -> "Britaniya" // GB
        138 -> "Gonkong" // HK
        192 -> "Makao" // MO
        228 -> "Falastin" // PS
        295 -> "BMT" // UN
        296 -> "AQSH" // US
        else -> null
      }
      false -> null
    }
    // uz-Cyrl
    1 -> when (variant == 0) {
      true -> when (query) {
        120 -> "Буюк Британия" // GB
        138 -> "Гонконг" // HK
        192 -> "Макао" // MO
        228 -> "Фаластин" // PS
        296 -> "АҚШ" // US
        else -> null
      }
      false -> null
    }
    else -> null
  }
  else -> null
}

private fun localizedNameForRegion_short_vai(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    192 -> "ꕮꗛꖺ" // MO
    else -> null
  }
}

private fun localizedNameForRegion_short_vi(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "Vương quốc Anh" // GB
    138 -> "Hồng Kông" // HK
    192 -> "Macao" // MO
    228 -> "Palestine" // PS
    295 -> "Liên hiệp quốc" // UN
    296 -> "Hoa Kỳ" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_wae(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    138 -> "Hongkong" // HK
    192 -> "Makau" // MO
    else -> null
  }
}

private fun localizedNameForRegion_short_wo(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    138 -> "Ooŋ Koŋ" // HK
    192 -> "Makaawo" // MO
    else -> null
  }
}

private fun localizedNameForRegion_short_yi(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    296 -> "פֿ\"ש" // US
    else -> null
  }
}

private fun localizedNameForRegion_short_yo(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? = when (region) {
  // yo
  0 -> when (script == 0 && variant == 0) {
    true -> when (query) {
      192 -> "Màkáò" // MO
      228 -> "Palẹsitín" // PS
      else -> null
    }
    false -> null
  }
  // yo-BJ
  59 -> when (script == 0 && variant == 0) {
    true -> when (query) {
      192 -> "Màkáò" // MO
      228 -> "Palɛsitín" // PS
      else -> null
    }
    false -> null
  }
  else -> null
}

private fun localizedNameForRegion_short_yue(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? = when (region) {
  // region = 
  0 -> when (script) {
    // yue
    0 -> when (variant == 0) {
      true -> when (query) {
        120 -> "英國" // GB
        138 -> "香港" // HK
        192 -> "澳門" // MO
        228 -> "巴勒斯坦" // PS
        296 -> "美國" // US
        else -> null
      }
      false -> null
    }
    // yue-Hans
    11 -> when (variant == 0) {
      true -> when (query) {
        120 -> "英国" // GB
        138 -> "香港" // HK
        192 -> "澳门" // MO
        228 -> "巴勒斯坦" // PS
        296 -> "美国" // US
        else -> null
      }
      false -> null
    }
    else -> null
  }
  else -> null
}

private fun localizedNameForRegion_short_zh(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? = when (region) {
  // region = 
  0 -> when (script) {
    // zh
    0 -> when (variant == 0) {
      true -> when (query) {
        120 -> "英国" // GB
        138 -> "香港" // HK
        192 -> "澳门" // MO
        228 -> "巴勒斯坦" // PS
        295 -> "联合国" // UN
        296 -> "美国" // US
        else -> null
      }
      false -> null
    }
    // zh-Hant
    12 -> when (variant == 0) {
      true -> when (query) {
        120 -> "英國" // GB
        138 -> "香港" // HK
        192 -> "澳門" // MO
        228 -> "巴勒斯坦" // PS
        295 -> "聯合國" // UN
        296 -> "美國" // US
        else -> null
      }
      false -> null
    }
    else -> null
  }
  else -> null
}

private fun localizedNameForRegion_short_zu(
  query: Int,
  script: Int,
  region: Int,
  variant: Int
): String? {
  if (region != 0 || script != 0 || variant != 0) {
    return null
  }
  return when (query) {
    120 -> "i-U.K." // GB
    138 -> "i-Hong Kong" // HK
    192 -> "i-Macau" // MO
    228 -> "i-Palestine" // PS
    295 -> "ifulegi" // UN
    296 -> "i-U.S" // US
    else -> null
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy