glossa-cli 0.0.0

A command-line (binary) tool that generates Rust source code or bincode files containing localized text by calling the glossa-codegen API.
Documentation
pub const fn map(language: &[u8], key: &[u8]) -> &'static str {
  use super::*;

  match language {
    #[cfg(feature = "l10n-af")]
    b"af" => l10n_af::map(key),
    #[cfg(feature = "l10n-ak")]
    b"ak" => l10n_ak::map(key),
    #[cfg(feature = "l10n-am")]
    b"am" => l10n_am::map(key),
    #[cfg(feature = "l10n-ar")]
    b"ar" => l10n_ar::map(key),
    #[cfg(feature = "l10n-as")]
    b"as" => l10n_as::map(key),
    #[cfg(feature = "l10n-az")]
    b"az" => l10n_az::map(key),
    #[cfg(feature = "l10n-bal")]
    b"bal" => l10n_bal::map(key),
    #[cfg(feature = "l10n-be")]
    b"be" => l10n_be::map(key),
    #[cfg(feature = "l10n-bem")]
    b"bem" => l10n_bem::map(key),
    #[cfg(feature = "l10n-bg")]
    b"bg" => l10n_bg::map(key),
    #[cfg(feature = "l10n-bho")]
    b"bho" => l10n_bho::map(key),
    #[cfg(feature = "l10n-bm")]
    b"bm" => l10n_bm::map(key),
    #[cfg(feature = "l10n-bn")]
    b"bn" => l10n_bn::map(key),
    #[cfg(feature = "l10n-bs")]
    b"bs" => l10n_bs::map(key),
    #[cfg(feature = "l10n-ca")]
    b"ca" => l10n_ca::map(key),
    #[cfg(feature = "l10n-ceb")]
    b"ceb" => l10n_ceb::map(key),
    #[cfg(feature = "l10n-cgg")]
    b"cgg" => l10n_cgg::map(key),
    #[cfg(feature = "l10n-ckb")]
    b"ckb" => l10n_ckb::map(key),
    #[cfg(feature = "l10n-co")]
    b"co" => l10n_co::map(key),
    #[cfg(feature = "l10n-cs")]
    b"cs" => l10n_cs::map(key),
    #[cfg(feature = "l10n-cy")]
    b"cy" => l10n_cy::map(key),
    #[cfg(feature = "l10n-da")]
    b"da" => l10n_da::map(key),
    #[cfg(feature = "l10n-de")]
    b"de" => l10n_de::map(key),
    #[cfg(feature = "l10n-doi")]
    b"doi" => l10n_doi::map(key),
    #[cfg(feature = "l10n-el")]
    b"el" => l10n_el::map(key),
    #[cfg(feature = "l10n-en")]
    b"en" => l10n_en::map(key),
    #[cfg(feature = "l10n-en-GB")]
    b"en-GB" => l10n_en_gb::map(key),
    #[cfg(feature = "l10n-eo")]
    b"eo" => l10n_eo::map(key),
    #[cfg(feature = "l10n-es")]
    b"es" => l10n_es::map(key),
    #[cfg(feature = "l10n-et")]
    b"et" => l10n_et::map(key),
    #[cfg(feature = "l10n-eu")]
    b"eu" => l10n_eu::map(key),
    #[cfg(feature = "l10n-fa")]
    b"fa" => l10n_fa::map(key),
    #[cfg(feature = "l10n-fi")]
    b"fi" => l10n_fi::map(key),
    #[cfg(feature = "l10n-fil")]
    b"fil" => l10n_fil::map(key),
    #[cfg(feature = "l10n-fr")]
    b"fr" => l10n_fr::map(key),
    #[cfg(feature = "l10n-fur")]
    b"fur" => l10n_fur::map(key),
    #[cfg(feature = "l10n-fy")]
    b"fy" => l10n_fy::map(key),
    #[cfg(feature = "l10n-ga")]
    b"ga" => l10n_ga::map(key),
    #[cfg(feature = "l10n-gd")]
    b"gd" => l10n_gd::map(key),
    #[cfg(feature = "l10n-gl")]
    b"gl" => l10n_gl::map(key),
    #[cfg(feature = "l10n-gu")]
    b"gu" => l10n_gu::map(key),
    #[cfg(feature = "l10n-ha")]
    b"ha" => l10n_ha::map(key),
    #[cfg(feature = "l10n-he")]
    b"he" => l10n_he::map(key),
    #[cfg(feature = "l10n-hi")]
    b"hi" => l10n_hi::map(key),
    #[cfg(feature = "l10n-hr")]
    b"hr" => l10n_hr::map(key),
    #[cfg(feature = "l10n-ht")]
    b"ht" => l10n_ht::map(key),
    #[cfg(feature = "l10n-hu")]
    b"hu" => l10n_hu::map(key),
    #[cfg(feature = "l10n-hy")]
    b"hy" => l10n_hy::map(key),
    #[cfg(feature = "l10n-id")]
    b"id" => l10n_id::map(key),
    #[cfg(feature = "l10n-ig")]
    b"ig" => l10n_ig::map(key),
    #[cfg(feature = "l10n-is")]
    b"is" => l10n_is::map(key),
    #[cfg(feature = "l10n-it")]
    b"it" => l10n_it::map(key),
    #[cfg(feature = "l10n-ja")]
    b"ja" => l10n_ja::map(key),
    #[cfg(feature = "l10n-ja-Latn-JP")]
    b"ja-Latn-JP" => l10n_ja_latn_jp::map(key),
    #[cfg(feature = "l10n-jv")]
    b"jv" => l10n_jv::map(key),
    #[cfg(feature = "l10n-ka")]
    b"ka" => l10n_ka::map(key),
    #[cfg(feature = "l10n-kk")]
    b"kk" => l10n_kk::map(key),
    #[cfg(feature = "l10n-km")]
    b"km" => l10n_km::map(key),
    #[cfg(feature = "l10n-kn")]
    b"kn" => l10n_kn::map(key),
    #[cfg(feature = "l10n-ko")]
    b"ko" => l10n_ko::map(key),
    #[cfg(feature = "l10n-ku")]
    b"ku" => l10n_ku::map(key),
    #[cfg(feature = "l10n-ky")]
    b"ky" => l10n_ky::map(key),
    #[cfg(feature = "l10n-la")]
    b"la" => l10n_la::map(key),
    #[cfg(feature = "l10n-lb")]
    b"lb" => l10n_lb::map(key),
    #[cfg(feature = "l10n-lg")]
    b"lg" => l10n_lg::map(key),
    #[cfg(feature = "l10n-ln")]
    b"ln" => l10n_ln::map(key),
    #[cfg(feature = "l10n-lo")]
    b"lo" => l10n_lo::map(key),
    #[cfg(feature = "l10n-lt")]
    b"lt" => l10n_lt::map(key),
    #[cfg(feature = "l10n-luo")]
    b"luo" => l10n_luo::map(key),
    #[cfg(feature = "l10n-lv")]
    b"lv" => l10n_lv::map(key),
    #[cfg(feature = "l10n-mai")]
    b"mai" => l10n_mai::map(key),
    #[cfg(feature = "l10n-mfe")]
    b"mfe" => l10n_mfe::map(key),
    #[cfg(feature = "l10n-mg")]
    b"mg" => l10n_mg::map(key),
    #[cfg(feature = "l10n-mi")]
    b"mi" => l10n_mi::map(key),
    #[cfg(feature = "l10n-mk")]
    b"mk" => l10n_mk::map(key),
    #[cfg(feature = "l10n-ml")]
    b"ml" => l10n_ml::map(key),
    #[cfg(feature = "l10n-mn")]
    b"mn" => l10n_mn::map(key),
    #[cfg(feature = "l10n-mr")]
    b"mr" => l10n_mr::map(key),
    #[cfg(feature = "l10n-ms")]
    b"ms" => l10n_ms::map(key),
    #[cfg(feature = "l10n-mt")]
    b"mt" => l10n_mt::map(key),
    #[cfg(feature = "l10n-my")]
    b"my" => l10n_my::map(key),
    #[cfg(feature = "l10n-ne")]
    b"ne" => l10n_ne::map(key),
    #[cfg(feature = "l10n-nl")]
    b"nl" => l10n_nl::map(key),
    #[cfg(feature = "l10n-no")]
    b"no" => l10n_no::map(key),
    #[cfg(feature = "l10n-nus")]
    b"nus" => l10n_nus::map(key),
    #[cfg(feature = "l10n-ny")]
    b"ny" => l10n_ny::map(key),
    #[cfg(feature = "l10n-om")]
    b"om" => l10n_om::map(key),
    #[cfg(feature = "l10n-or")]
    b"or" => l10n_or::map(key),
    #[cfg(feature = "l10n-pa")]
    b"pa" => l10n_pa::map(key),
    #[cfg(feature = "l10n-pl")]
    b"pl" => l10n_pl::map(key),
    #[cfg(feature = "l10n-ps")]
    b"ps" => l10n_ps::map(key),
    #[cfg(feature = "l10n-pt")]
    b"pt" => l10n_pt::map(key),
    #[cfg(feature = "l10n-qu")]
    b"qu" => l10n_qu::map(key),
    #[cfg(feature = "l10n-ro")]
    b"ro" => l10n_ro::map(key),
    #[cfg(feature = "l10n-ru")]
    b"ru" => l10n_ru::map(key),
    #[cfg(feature = "l10n-rw")]
    b"rw" => l10n_rw::map(key),
    #[cfg(feature = "l10n-sah")]
    b"sah" => l10n_sah::map(key),
    #[cfg(feature = "l10n-sat")]
    b"sat" => l10n_sat::map(key),
    #[cfg(feature = "l10n-sd")]
    b"sd" => l10n_sd::map(key),
    #[cfg(feature = "l10n-si")]
    b"si" => l10n_si::map(key),
    #[cfg(feature = "l10n-sk")]
    b"sk" => l10n_sk::map(key),
    #[cfg(feature = "l10n-sl")]
    b"sl" => l10n_sl::map(key),
    #[cfg(feature = "l10n-sm")]
    b"sm" => l10n_sm::map(key),
    #[cfg(feature = "l10n-sn")]
    b"sn" => l10n_sn::map(key),
    #[cfg(feature = "l10n-so")]
    b"so" => l10n_so::map(key),
    #[cfg(feature = "l10n-sq")]
    b"sq" => l10n_sq::map(key),
    #[cfg(feature = "l10n-sr")]
    b"sr" => l10n_sr::map(key),
    #[cfg(feature = "l10n-st")]
    b"st" => l10n_st::map(key),
    #[cfg(feature = "l10n-su")]
    b"su" => l10n_su::map(key),
    #[cfg(feature = "l10n-sv")]
    b"sv" => l10n_sv::map(key),
    #[cfg(feature = "l10n-sw")]
    b"sw" => l10n_sw::map(key),
    #[cfg(feature = "l10n-ta")]
    b"ta" => l10n_ta::map(key),
    #[cfg(feature = "l10n-te")]
    b"te" => l10n_te::map(key),
    #[cfg(feature = "l10n-tg")]
    b"tg" => l10n_tg::map(key),
    #[cfg(feature = "l10n-th")]
    b"th" => l10n_th::map(key),
    #[cfg(feature = "l10n-ti")]
    b"ti" => l10n_ti::map(key),
    #[cfg(feature = "l10n-tk")]
    b"tk" => l10n_tk::map(key),
    #[cfg(feature = "l10n-tr")]
    b"tr" => l10n_tr::map(key),
    #[cfg(feature = "l10n-tt")]
    b"tt" => l10n_tt::map(key),
    #[cfg(feature = "l10n-ug")]
    b"ug" => l10n_ug::map(key),
    #[cfg(feature = "l10n-uk")]
    b"uk" => l10n_uk::map(key),
    #[cfg(feature = "l10n-ur")]
    b"ur" => l10n_ur::map(key),
    #[cfg(feature = "l10n-uz")]
    b"uz" => l10n_uz::map(key),
    #[cfg(feature = "l10n-vi")]
    b"vi" => l10n_vi::map(key),
    #[cfg(feature = "l10n-xh")]
    b"xh" => l10n_xh::map(key),
    #[cfg(feature = "l10n-yi")]
    b"yi" => l10n_yi::map(key),
    #[cfg(feature = "l10n-yo")]
    b"yo" => l10n_yo::map(key),
    #[cfg(feature = "l10n-zh")]
    b"zh" => l10n_zh::map(key),
    #[cfg(feature = "l10n-zh-Hant")]
    b"zh-Hant" => l10n_zh_hant::map(key),
    #[cfg(feature = "l10n-zh-Latn-CN")]
    b"zh-Latn-CN" => l10n_zh_latn_cn::map(key),
    #[cfg(feature = "l10n-zu")]
    b"zu" => l10n_zu::map(key),
    _ => "",
  }
}