new locales code checked in

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2001-01-10 18:31:26 +00:00
parent a2ae327513
commit d3f3e35f54
7 changed files with 1363 additions and 36 deletions

5
misc/languages/README Normal file
View File

@ -0,0 +1,5 @@
Files in this directory are used to generate parts
of include/wx/intl.h (wxLanguage enum) and
src/common/intl.cpp (conversion tables)

254
misc/languages/_wxlang.cpp Normal file
View File

@ -0,0 +1,254 @@
// This table is generated by misc/languages/genlang.py
// When making changes, please put them into misc/languages/langtabl.txt
#ifdef __WXMSW__
#define SETWINLANG(info,lang,sublang) \
info.WinLang = lang, info.WinSublang = sublang;
#else
#define SETWINLANG(info,lang,sublang)
#endif
#define LNG(wxlang, canonical, winlang, winsublang, desc) \
info.Language = wxlang; \
info.CanonicalName = wxT(canonical); \
info.Description = desc; \
SETWINLANG(info, winlang, winsublang) \
AddLanguage(info);
void wxLocale::InitLanguagesDB()
{
wxLanguageInfo info;
wxStringTokenizer tkn;
LNG(wxLANGUAGE_ABKHAZIAN, "ab" , 0 , 0 , "Abkhazian")
LNG(wxLANGUAGE_AFAR, "aa" , 0 , 0 , "Afar")
LNG(wxLANGUAGE_AFRIKAANS, "af_ZA", LANG_AFRIKAANS , SUBLANG_DEFAULT , "Afrikaans")
LNG(wxLANGUAGE_ALBANIAN, "sq_AL", LANG_ALBANIAN , SUBLANG_DEFAULT , "Albanian")
LNG(wxLANGUAGE_AMHARIC, "am" , 0 , 0 , "Amharic")
LNG(wxLANGUAGE_ARABIC, "ar" , LANG_ARABIC , SUBLANG_DEFAULT , "Arabic")
LNG(wxLANGUAGE_ARABIC_ALGERIA, "ar_DZ", LANG_ARABIC , SUBLANG_ARABIC_ALGERIA , "Arabic (Algeria)")
LNG(wxLANGUAGE_ARABIC_BAHRAIN, "ar_BH", LANG_ARABIC , SUBLANG_ARABIC_BAHRAIN , "Arabic (Bahrain)")
LNG(wxLANGUAGE_ARABIC_EGYPT, "ar_EG", LANG_ARABIC , SUBLANG_ARABIC_EGYPT , "Arabic (Egypt)")
LNG(wxLANGUAGE_ARABIC_IRAQ, "ar_IQ", LANG_ARABIC , SUBLANG_ARABIC_IRAQ , "Arabic (Iraq)")
LNG(wxLANGUAGE_ARABIC_JORDAN, "ar_JO", LANG_ARABIC , SUBLANG_ARABIC_JORDAN , "Arabic (Jordan)")
LNG(wxLANGUAGE_ARABIC_KUWAIT, "ar_KW", LANG_ARABIC , SUBLANG_ARABIC_KUWAIT , "Arabic (Kuwait)")
LNG(wxLANGUAGE_ARABIC_LEBANON, "ar_LB", LANG_ARABIC , SUBLANG_ARABIC_LEBANON , "Arabic (Lebanon)")
LNG(wxLANGUAGE_ARABIC_LIBYA, "ar_LY", LANG_ARABIC , SUBLANG_ARABIC_LIBYA , "Arabic (Libya)")
LNG(wxLANGUAGE_ARABIC_MOROCCO, "ar_MA", LANG_ARABIC , SUBLANG_ARABIC_MOROCCO , "Arabic (Morocco)")
LNG(wxLANGUAGE_ARABIC_OMAN, "ar_OM", LANG_ARABIC , SUBLANG_ARABIC_OMAN , "Arabic (Oman)")
LNG(wxLANGUAGE_ARABIC_QATAR, "ar_QA", LANG_ARABIC , SUBLANG_ARABIC_QATAR , "Arabic (Qatar)")
LNG(wxLANGUAGE_ARABIC_SAUDI_ARABIA, "ar_SA", LANG_ARABIC , SUBLANG_ARABIC_SAUDI_ARABIA , "Arabic (Saudi Arabia)")
LNG(wxLANGUAGE_ARABIC_SUDAN, "ar_SD", 0 , 0 , "Arabic (Sudan)")
LNG(wxLANGUAGE_ARABIC_SYRIA, "ar_SY", LANG_ARABIC , SUBLANG_ARABIC_SYRIA , "Arabic (Syria)")
LNG(wxLANGUAGE_ARABIC_TUNISIA, "ar_TN", LANG_ARABIC , SUBLANG_ARABIC_TUNISIA , "Arabic (Tunisia)")
LNG(wxLANGUAGE_ARABIC_UAE, "ar_AE", LANG_ARABIC , SUBLANG_ARABIC_UAE , "Arabic (Uae)")
LNG(wxLANGUAGE_ARABIC_YEMEN, "ar_YE", LANG_ARABIC , SUBLANG_ARABIC_YEMEN , "Arabic (Yemen)")
LNG(wxLANGUAGE_ARMENIAN, "hy" , LANG_ARMENIAN , SUBLANG_DEFAULT , "Armenian")
LNG(wxLANGUAGE_ASSAMESE, "as" , LANG_ASSAMESE , SUBLANG_DEFAULT , "Assamese")
LNG(wxLANGUAGE_AYMARA, "ay" , 0 , 0 , "Aymara")
LNG(wxLANGUAGE_AZERI, "az" , LANG_AZERI , SUBLANG_DEFAULT , "Azeri")
LNG(wxLANGUAGE_AZERI_CYRILLIC, "az" , LANG_AZERI , SUBLANG_AZERI_CYRILLIC , "Azeri (Cyrillic)")
LNG(wxLANGUAGE_AZERI_LATIN, "az" , LANG_AZERI , SUBLANG_AZERI_LATIN , "Azeri (Latin)")
LNG(wxLANGUAGE_BASHKIR, "ba" , 0 , 0 , "Bashkir")
LNG(wxLANGUAGE_BASQUE, "eu_ES", LANG_BASQUE , SUBLANG_DEFAULT , "Basque")
LNG(wxLANGUAGE_BELARUSIAN, "be_BY", LANG_BELARUSIAN, SUBLANG_DEFAULT , "Belarusian")
LNG(wxLANGUAGE_BENGALI, "bn" , LANG_BENGALI , SUBLANG_DEFAULT , "Bengali")
LNG(wxLANGUAGE_BHUTANI, "dz" , 0 , 0 , "Bhutani")
LNG(wxLANGUAGE_BIHARI, "bh" , 0 , 0 , "Bihari")
LNG(wxLANGUAGE_BISLAMA, "bi" , 0 , 0 , "Bislama")
LNG(wxLANGUAGE_BRETON, "br" , 0 , 0 , "Breton")
LNG(wxLANGUAGE_BULGARIAN, "bg_BG", LANG_BULGARIAN , SUBLANG_DEFAULT , "Bulgarian")
LNG(wxLANGUAGE_BURMESE, "my" , 0 , 0 , "Burmese")
LNG(wxLANGUAGE_CAMBODIAN, "km" , 0 , 0 , "Cambodian")
LNG(wxLANGUAGE_CATALAN, "ca_ES", LANG_CATALAN , SUBLANG_DEFAULT , "Catalan")
LNG(wxLANGUAGE_CHINESE, "zh_CN", LANG_CHINESE , SUBLANG_DEFAULT , "Chinese")
LNG(wxLANGUAGE_CHINESE_SIMPLIFIED, "zh_CN", LANG_CHINESE , SUBLANG_CHINESE_SIMPLIFIED , "Chinese (Simplified)")
LNG(wxLANGUAGE_CHINESE_TRADITIONAL, "zh_CN", LANG_CHINESE , SUBLANG_CHINESE_TRADITIONAL , "Chinese (Traditional)")
LNG(wxLANGUAGE_CHINESE_HONGKONG, "zh_HK", LANG_CHINESE , SUBLANG_CHINESE_HONGKONG , "Chinese (Hongkong)")
LNG(wxLANGUAGE_CHINESE_MACAU, "zh_MO", LANG_CHINESE , SUBLANG_CHINESE_MACAU , "Chinese (Macau)")
LNG(wxLANGUAGE_CHINESE_SINGAPORE, "zh_SG", LANG_CHINESE , SUBLANG_CHINESE_SINGAPORE , "Chinese (Singapore)")
LNG(wxLANGUAGE_CHINESE_TAIWAN, "zh_TW", 0 , 0 , "Chinese (Taiwan)")
LNG(wxLANGUAGE_CORSICAN, "co" , 0 , 0 , "Corsican")
LNG(wxLANGUAGE_CROATIAN, "hr_HR", LANG_CROATIAN , SUBLANG_DEFAULT , "Croatian")
LNG(wxLANGUAGE_CZECH, "cs_CZ", LANG_CZECH , SUBLANG_DEFAULT , "Czech")
LNG(wxLANGUAGE_DANISH, "da_DK", LANG_DANISH , SUBLANG_DEFAULT , "Danish")
LNG(wxLANGUAGE_DUTCH, "nl_NL", LANG_DUTCH , SUBLANG_DUTCH , "Dutch")
LNG(wxLANGUAGE_DUTCH_BELGIAN, "nl_BE", LANG_DUTCH , SUBLANG_DUTCH_BELGIAN , "Dutch (Belgian)")
LNG(wxLANGUAGE_ENGLISH, "en_GB", LANG_ENGLISH , SUBLANG_ENGLISH_UK , "English")
LNG(wxLANGUAGE_ENGLISH_UK, "en_GB", LANG_ENGLISH , SUBLANG_ENGLISH_UK , "English (U.K.)")
LNG(wxLANGUAGE_ENGLISH_US, "en_US", LANG_ENGLISH , SUBLANG_ENGLISH_US , "English (U.S.)")
LNG(wxLANGUAGE_ENGLISH_AUSTRALIA, "en_AU", LANG_ENGLISH , SUBLANG_ENGLISH_AUS , "English (Australia)")
LNG(wxLANGUAGE_ENGLISH_BELIZE, "en_BZ", LANG_ENGLISH , SUBLANG_ENGLISH_BELIZE , "English (Belize)")
LNG(wxLANGUAGE_ENGLISH_BOTSWANA, "en_BW", 0 , 0 , "English (Botswana)")
LNG(wxLANGUAGE_ENGLISH_CANADA, "en_CA", LANG_ENGLISH , SUBLANG_ENGLISH_CAN , "English (Canada)")
LNG(wxLANGUAGE_ENGLISH_CARIBBEAN, "en_CB", LANG_ENGLISH , SUBLANG_ENGLISH_CARIBBEAN , "English (Caribbean)")
LNG(wxLANGUAGE_ENGLISH_DENMARK, "en_DK", 0 , 0 , "English (Denmark)")
LNG(wxLANGUAGE_ENGLISH_EIRE, "en_IE", LANG_ENGLISH , SUBLANG_ENGLISH_EIRE , "English (Eire)")
LNG(wxLANGUAGE_ENGLISH_JAMAICA, "en_JM", LANG_ENGLISH , SUBLANG_ENGLISH_JAMAICA , "English (Jamaica)")
LNG(wxLANGUAGE_ENGLISH_NEW_ZEALAND, "en_NZ", LANG_ENGLISH , SUBLANG_ENGLISH_NZ , "English (New Zealand)")
LNG(wxLANGUAGE_ENGLISH_PHILIPPINES, "en_PH", LANG_ENGLISH , SUBLANG_ENGLISH_PHILIPPINES , "English (Philippines)")
LNG(wxLANGUAGE_ENGLISH_SOUTH_AFRICA, "en_ZA", LANG_ENGLISH , SUBLANG_ENGLISH_SOUTH_AFRICA , "English (South Africa)")
LNG(wxLANGUAGE_ENGLISH_TRINIDAD, "en_TT", LANG_ENGLISH , SUBLANG_ENGLISH_TRINIDAD , "English (Trinidad)")
LNG(wxLANGUAGE_ENGLISH_ZIMBABWE, "en_ZW", LANG_ENGLISH , SUBLANG_ENGLISH_ZIMBABWE , "English (Zimbabwe)")
LNG(wxLANGUAGE_ESPERANTO, "eo" , 0 , 0 , "Esperanto")
LNG(wxLANGUAGE_ESTONIAN, "et_EE", LANG_ESTONIAN , SUBLANG_DEFAULT , "Estonian")
LNG(wxLANGUAGE_FAEROESE, "fo_FO", LANG_FAEROESE , SUBLANG_DEFAULT , "Faeroese")
LNG(wxLANGUAGE_FARSI, "" , LANG_FARSI , SUBLANG_DEFAULT , "Farsi")
LNG(wxLANGUAGE_FIJI, "fj" , 0 , 0 , "Fiji")
LNG(wxLANGUAGE_FINNISH, "fi_FI", LANG_FINNISH , SUBLANG_DEFAULT , "Finnish")
LNG(wxLANGUAGE_FRENCH, "fr_FR", LANG_FRENCH , SUBLANG_FRENCH , "French")
LNG(wxLANGUAGE_FRENCH_BELGIAN, "fr_BE", LANG_FRENCH , SUBLANG_FRENCH_BELGIAN , "French (Belgian)")
LNG(wxLANGUAGE_FRENCH_CANADIAN, "fr_CA", LANG_FRENCH , SUBLANG_FRENCH_CANADIAN , "French (Canadian)")
LNG(wxLANGUAGE_FRENCH_LUXEMBOURG, "fr_LU", LANG_FRENCH , SUBLANG_FRENCH_LUXEMBOURG , "French (Luxembourg)")
LNG(wxLANGUAGE_FRENCH_MONACO, "fr_MC", LANG_FRENCH , SUBLANG_FRENCH_MONACO , "French (Monaco)")
LNG(wxLANGUAGE_FRENCH_SWISS, "fr_CH", LANG_FRENCH , SUBLANG_FRENCH_SWISS , "French (Swiss)")
LNG(wxLANGUAGE_FRISIAN, "fy" , 0 , 0 , "Frisian")
LNG(wxLANGUAGE_GALICIAN, "gl_ES", 0 , 0 , "Galician")
LNG(wxLANGUAGE_GEORGIAN, "ka" , LANG_GEORGIAN , SUBLANG_DEFAULT , "Georgian")
LNG(wxLANGUAGE_GERMAN, "de_DE", LANG_GERMAN , SUBLANG_GERMAN , "German")
LNG(wxLANGUAGE_GERMAN_AUSTRIAN, "de_AT", LANG_GERMAN , SUBLANG_GERMAN_AUSTRIAN , "German (Austrian)")
LNG(wxLANGUAGE_GERMAN_BELGIUM, "de_BE", 0 , 0 , "German (Belgium)")
LNG(wxLANGUAGE_GERMAN_LIECHTENSTEIN, "de_LI", LANG_GERMAN , SUBLANG_GERMAN_LIECHTENSTEIN , "German (Liechtenstein)")
LNG(wxLANGUAGE_GERMAN_LUXEMBOURG, "de_LU", LANG_GERMAN , SUBLANG_GERMAN_LUXEMBOURG , "German (Luxembourg)")
LNG(wxLANGUAGE_GERMAN_SWISS, "de_CH", LANG_GERMAN , SUBLANG_GERMAN_SWISS , "German (Swiss)")
LNG(wxLANGUAGE_GREEK, "el_GR", LANG_GREEK , SUBLANG_DEFAULT , "Greek")
LNG(wxLANGUAGE_GREENLANDIC, "kl_GL", 0 , 0 , "Greenlandic")
LNG(wxLANGUAGE_GUARANI, "gn" , 0 , 0 , "Guarani")
LNG(wxLANGUAGE_GUJARATI, "gu" , LANG_GUJARATI , SUBLANG_DEFAULT , "Gujarati")
LNG(wxLANGUAGE_HAUSA, "ha" , 0 , 0 , "Hausa")
LNG(wxLANGUAGE_HEBREW, "he_IL", LANG_HEBREW , SUBLANG_DEFAULT , "Hebrew")
LNG(wxLANGUAGE_HINDI, "hi_IN", LANG_HINDI , SUBLANG_DEFAULT , "Hindi")
LNG(wxLANGUAGE_HUNGARIAN, "hu_HU", LANG_HUNGARIAN , SUBLANG_DEFAULT , "Hungarian")
LNG(wxLANGUAGE_ICELANDIC, "is_IS", LANG_ICELANDIC , SUBLANG_DEFAULT , "Icelandic")
LNG(wxLANGUAGE_INDONESIAN, "id_ID", LANG_INDONESIAN, SUBLANG_DEFAULT , "Indonesian")
LNG(wxLANGUAGE_INTERLINGUA, "ia" , 0 , 0 , "Interlingua")
LNG(wxLANGUAGE_INTERLINGUE, "ie" , 0 , 0 , "Interlingue")
LNG(wxLANGUAGE_INUKTITUT, "iu" , 0 , 0 , "Inuktitut")
LNG(wxLANGUAGE_INUPIAK, "ik" , 0 , 0 , "Inupiak")
LNG(wxLANGUAGE_IRISH, "ga_IE", 0 , 0 , "Irish")
LNG(wxLANGUAGE_ITALIAN, "it_IT", LANG_ITALIAN , SUBLANG_ITALIAN , "Italian")
LNG(wxLANGUAGE_ITALIAN_SWISS, "it_CH", LANG_ITALIAN , SUBLANG_ITALIAN_SWISS , "Italian (Swiss)")
LNG(wxLANGUAGE_JAPANESE, "ja_JP", LANG_JAPANESE , SUBLANG_DEFAULT , "Japanese")
LNG(wxLANGUAGE_JAVANESE, "jw" , 0 , 0 , "Javanese")
LNG(wxLANGUAGE_KANNADA, "kn" , LANG_KANNADA , SUBLANG_DEFAULT , "Kannada")
LNG(wxLANGUAGE_KASHMIRI, "ks" , LANG_KASHMIRI , SUBLANG_DEFAULT , "Kashmiri")
LNG(wxLANGUAGE_KASHMIRI_INDIA, "ks_IN", LANG_KASHMIRI , SUBLANG_KASHMIRI_INDIA , "Kashmiri (India)")
LNG(wxLANGUAGE_KAZAKH, "kk" , LANG_KAZAK , SUBLANG_DEFAULT , "Kazakh")
LNG(wxLANGUAGE_KINYARWANDA, "rw" , 0 , 0 , "Kinyarwanda")
LNG(wxLANGUAGE_KIRGHIZ, "ky" , 0 , 0 , "Kirghiz")
LNG(wxLANGUAGE_KIRUNDI, "rn" , 0 , 0 , "Kirundi")
LNG(wxLANGUAGE_KONKANI, "" , LANG_KONKANI , SUBLANG_DEFAULT , "Konkani")
LNG(wxLANGUAGE_KOREAN, "ko_KR", LANG_KOREAN , SUBLANG_KOREAN , "Korean")
LNG(wxLANGUAGE_KURDISH, "ku" , 0 , 0 , "Kurdish")
LNG(wxLANGUAGE_LAOTHIAN, "lo" , 0 , 0 , "Laothian")
LNG(wxLANGUAGE_LATIN, "la" , 0 , 0 , "Latin")
LNG(wxLANGUAGE_LATVIAN, "lv_LV", LANG_LATVIAN , SUBLANG_DEFAULT , "Latvian")
LNG(wxLANGUAGE_LINGALA, "ln" , 0 , 0 , "Lingala")
LNG(wxLANGUAGE_LITHUANIAN, "lt_LT", LANG_LITHUANIAN, SUBLANG_LITHUANIAN , "Lithuanian")
LNG(wxLANGUAGE_MACEDONIAN, "mk_MK", LANG_MACEDONIAN, SUBLANG_DEFAULT , "Macedonian")
LNG(wxLANGUAGE_MALAGASY, "mg" , 0 , 0 , "Malagasy")
LNG(wxLANGUAGE_MALAY, "ms_MY", LANG_MALAY , SUBLANG_DEFAULT , "Malay")
LNG(wxLANGUAGE_MALAYALAM, "ml" , LANG_MALAYALAM , SUBLANG_DEFAULT , "Malayalam")
LNG(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM, "ms_BN", LANG_MALAY , SUBLANG_MALAY_BRUNEI_DARUSSALAM , "Malay (Brunei Darussalam)")
LNG(wxLANGUAGE_MALAY_MALAYSIA, "ms_MY", LANG_MALAY , SUBLANG_MALAY_MALAYSIA , "Malay (Malaysia)")
LNG(wxLANGUAGE_MALTESE, "mt_MT", 0 , 0 , "Maltese")
LNG(wxLANGUAGE_MANIPURI, "" , LANG_MANIPURI , SUBLANG_DEFAULT , "Manipuri")
LNG(wxLANGUAGE_MAORI, "mi" , 0 , 0 , "Maori")
LNG(wxLANGUAGE_MARATHI, "mr_IN", LANG_MARATHI , SUBLANG_DEFAULT , "Marathi")
LNG(wxLANGUAGE_MOLDAVIAN, "mo" , 0 , 0 , "Moldavian")
LNG(wxLANGUAGE_MONGOLIAN, "mn" , 0 , 0 , "Mongolian")
LNG(wxLANGUAGE_NAURU, "na" , 0 , 0 , "Nauru")
LNG(wxLANGUAGE_NEPALI, "ne" , LANG_NEPALI , SUBLANG_DEFAULT , "Nepali")
LNG(wxLANGUAGE_NEPALI_INDIA, "ne_IN", LANG_NEPALI , SUBLANG_NEPALI_INDIA , "Nepali (India)")
LNG(wxLANGUAGE_NORWEGIAN, "no_NO", LANG_NORWEGIAN , SUBLANG_DEFAULT , "Norwegian")
LNG(wxLANGUAGE_NORWEGIAN_BOKMAL, "no_NO", LANG_NORWEGIAN , SUBLANG_NORWEGIAN_BOKMAL , "Norwegian (Bokmal)")
LNG(wxLANGUAGE_NORWEGIAN_NYNORSK, "no_NO", LANG_NORWEGIAN , SUBLANG_NORWEGIAN_NYNORSK , "Norwegian (Nynorsk)")
LNG(wxLANGUAGE_OCCITAN, "oc" , 0 , 0 , "Occitan")
LNG(wxLANGUAGE_ORIYA, "or" , LANG_ORIYA , SUBLANG_DEFAULT , "Oriya")
LNG(wxLANGUAGE_OROMO, "om" , 0 , 0 , "(Afan) Oromo")
LNG(wxLANGUAGE_PASHTO, "ps" , 0 , 0 , "Pashto, Pushto")
LNG(wxLANGUAGE_PERSIAN, "fa_IR", 0 , 0 , "Persian")
LNG(wxLANGUAGE_POLISH, "pl_PL", LANG_POLISH , SUBLANG_DEFAULT , "Polish")
LNG(wxLANGUAGE_PORTUGUESE, "pt_PT", LANG_PORTUGUESE, SUBLANG_PORTUGUESE , "Portuguese")
LNG(wxLANGUAGE_PORTUGUESE_BRAZILIAN, "pt_BR", LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN , "Portuguese (Brazilian)")
LNG(wxLANGUAGE_PUNJABI, "pa" , LANG_PUNJABI , SUBLANG_DEFAULT , "Punjabi")
LNG(wxLANGUAGE_QUECHUA, "qu" , 0 , 0 , "Quechua")
LNG(wxLANGUAGE_RHAETO_ROMANCE, "rm" , 0 , 0 , "Rhaeto-Romance")
LNG(wxLANGUAGE_ROMANIAN, "ro_RO", LANG_ROMANIAN , SUBLANG_DEFAULT , "Romanian")
LNG(wxLANGUAGE_RUSSIAN, "ru_RU", LANG_RUSSIAN , SUBLANG_DEFAULT , "Russian")
LNG(wxLANGUAGE_RUSSIAN_UKRAINE, "ru_UA", 0 , 0 , "Russian (Ukraine)")
LNG(wxLANGUAGE_SAMOAN, "sm" , 0 , 0 , "Samoan")
LNG(wxLANGUAGE_SANGHO, "sg" , 0 , 0 , "Sangho")
LNG(wxLANGUAGE_SANSKRIT, "sa" , LANG_SANSKRIT , SUBLANG_DEFAULT , "Sanskrit")
LNG(wxLANGUAGE_SCOTS_GAELIC, "gd" , 0 , 0 , "Scots Gaelic")
LNG(wxLANGUAGE_SERBIAN, "sr_YU", LANG_SERBIAN , SUBLANG_DEFAULT , "Serbian")
LNG(wxLANGUAGE_SERBIAN_CYRILLIC, "sr_YU", LANG_SERBIAN , SUBLANG_SERBIAN_CYRILLIC , "Serbian (Cyrillic)")
LNG(wxLANGUAGE_SERBIAN_LATIN, "sr_YU", LANG_SERBIAN , SUBLANG_SERBIAN_LATIN , "Serbian (Latin)")
LNG(wxLANGUAGE_SERBO_CROATIAN, "sh" , 0 , 0 , "Serbo-Croatian")
LNG(wxLANGUAGE_SESOTHO, "st" , 0 , 0 , "Sesotho")
LNG(wxLANGUAGE_SETSWANA, "tn" , 0 , 0 , "Setswana")
LNG(wxLANGUAGE_SHONA, "sn" , 0 , 0 , "Shona")
LNG(wxLANGUAGE_SINDHI, "sd" , LANG_SINDHI , SUBLANG_DEFAULT , "Sindhi")
LNG(wxLANGUAGE_SINHALESE, "si" , 0 , 0 , "Sinhalese")
LNG(wxLANGUAGE_SISWATI, "ss" , 0 , 0 , "Siswati")
LNG(wxLANGUAGE_SLOVAK, "sk_SK", LANG_SLOVAK , SUBLANG_DEFAULT , "Slovak")
LNG(wxLANGUAGE_SLOVENIAN, "sl_SI", LANG_SLOVENIAN , SUBLANG_DEFAULT , "Slovenian")
LNG(wxLANGUAGE_SOMALI, "so" , 0 , 0 , "Somali")
LNG(wxLANGUAGE_SPANISH, "es_ES", LANG_SPANISH , SUBLANG_SPANISH , "Spanish")
LNG(wxLANGUAGE_SPANISH_ARGENTINA, "es_AR", LANG_SPANISH , SUBLANG_SPANISH_ARGENTINA , "Spanish (Argentina)")
LNG(wxLANGUAGE_SPANISH_BOLIVIA, "es_BO", LANG_SPANISH , SUBLANG_SPANISH_BOLIVIA , "Spanish (Bolivia)")
LNG(wxLANGUAGE_SPANISH_CHILE, "es_CL", LANG_SPANISH , SUBLANG_SPANISH_CHILE , "Spanish (Chile)")
LNG(wxLANGUAGE_SPANISH_COLOMBIA, "es_CO", LANG_SPANISH , SUBLANG_SPANISH_COLOMBIA , "Spanish (Colombia)")
LNG(wxLANGUAGE_SPANISH_COSTA_RICA, "es_CR", LANG_SPANISH , SUBLANG_SPANISH_COSTA_RICA , "Spanish (Costa Rica)")
LNG(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC, "es_DO", LANG_SPANISH , SUBLANG_SPANISH_DOMINICAN_REPUBLIC, "Spanish (Dominican republic)")
LNG(wxLANGUAGE_SPANISH_ECUADOR, "es_EC", LANG_SPANISH , SUBLANG_SPANISH_ECUADOR , "Spanish (Ecuador)")
LNG(wxLANGUAGE_SPANISH_EL_SALVADOR, "es_SV", LANG_SPANISH , SUBLANG_SPANISH_EL_SALVADOR , "Spanish (El Salvador)")
LNG(wxLANGUAGE_SPANISH_GUATEMALA, "es_GT", LANG_SPANISH , SUBLANG_SPANISH_GUATEMALA , "Spanish (Guatemala)")
LNG(wxLANGUAGE_SPANISH_HONDURAS, "es_HN", LANG_SPANISH , SUBLANG_SPANISH_HONDURAS , "Spanish (Honduras)")
LNG(wxLANGUAGE_SPANISH_MEXICAN, "es_MX", LANG_SPANISH , SUBLANG_SPANISH_MEXICAN , "Spanish (Mexican)")
LNG(wxLANGUAGE_SPANISH_MODERN, "es_ES", LANG_SPANISH , SUBLANG_SPANISH_MODERN , "Spanish (Modern)")
LNG(wxLANGUAGE_SPANISH_NICARAGUA, "es_NI", LANG_SPANISH , SUBLANG_SPANISH_NICARAGUA , "Spanish (Nicaragua)")
LNG(wxLANGUAGE_SPANISH_PANAMA, "es_PA", LANG_SPANISH , SUBLANG_SPANISH_PANAMA , "Spanish (Panama)")
LNG(wxLANGUAGE_SPANISH_PARAGUAY, "es_PY", LANG_SPANISH , SUBLANG_SPANISH_PARAGUAY , "Spanish (Paraguay)")
LNG(wxLANGUAGE_SPANISH_PERU, "es_PE", LANG_SPANISH , SUBLANG_SPANISH_PERU , "Spanish (Peru)")
LNG(wxLANGUAGE_SPANISH_PUERTO_RICO, "es_PR", LANG_SPANISH , SUBLANG_SPANISH_PUERTO_RICO , "Spanish (Puerto Rico)")
LNG(wxLANGUAGE_SPANISH_URUGUAY, "es_UY", LANG_SPANISH , SUBLANG_SPANISH_URUGUAY , "Spanish (Uruguay)")
LNG(wxLANGUAGE_SPANISH_US, "es_US", 0 , 0 , "Spanish (U.S.)")
LNG(wxLANGUAGE_SPANISH_VENEZUELA, "es_VE", LANG_SPANISH , SUBLANG_SPANISH_VENEZUELA , "Spanish (Venezuela)")
LNG(wxLANGUAGE_SUNDANESE, "su" , 0 , 0 , "Sundanese")
LNG(wxLANGUAGE_SWAHILI, "sw_KE", LANG_SWAHILI , SUBLANG_DEFAULT , "Swahili")
LNG(wxLANGUAGE_SWEDISH, "sv_SE", LANG_SWEDISH , SUBLANG_SWEDISH , "Swedish")
LNG(wxLANGUAGE_SWEDISH_FINLAND, "sv_FI", LANG_SWEDISH , SUBLANG_SWEDISH_FINLAND , "Swedish (Finland)")
LNG(wxLANGUAGE_TAGALOG, "tl" , 0 , 0 , "Tagalog")
LNG(wxLANGUAGE_TAJIK, "tg" , 0 , 0 , "Tajik")
LNG(wxLANGUAGE_TAMIL, "ta" , LANG_TAMIL , SUBLANG_DEFAULT , "Tamil")
LNG(wxLANGUAGE_TATAR, "tt" , LANG_TATAR , SUBLANG_DEFAULT , "Tatar")
LNG(wxLANGUAGE_TELUGU, "te" , LANG_TELUGU , SUBLANG_DEFAULT , "Telugu")
LNG(wxLANGUAGE_THAI, "th_TH", LANG_THAI , SUBLANG_DEFAULT , "Thai")
LNG(wxLANGUAGE_TIBETAN, "bo" , 0 , 0 , "Tibetan")
LNG(wxLANGUAGE_TIGRINYA, "ti" , 0 , 0 , "Tigrinya")
LNG(wxLANGUAGE_TONGA, "to" , 0 , 0 , "Tonga")
LNG(wxLANGUAGE_TSONGA, "ts" , 0 , 0 , "Tsonga")
LNG(wxLANGUAGE_TURKISH, "tr_TR", LANG_TURKISH , SUBLANG_DEFAULT , "Turkish")
LNG(wxLANGUAGE_TURKMEN, "tk" , 0 , 0 , "Turkmen")
LNG(wxLANGUAGE_TWI, "tw" , 0 , 0 , "Twi")
LNG(wxLANGUAGE_UIGHUR, "ug" , 0 , 0 , "Uighur")
LNG(wxLANGUAGE_UKRAINIAN, "uk_UA", LANG_UKRAINIAN , SUBLANG_DEFAULT , "Ukrainian")
LNG(wxLANGUAGE_URDU, "ur" , LANG_URDU , SUBLANG_DEFAULT , "Urdu")
LNG(wxLANGUAGE_URDU_INDIA, "ur_IN", LANG_URDU , SUBLANG_URDU_INDIA , "Urdu (India)")
LNG(wxLANGUAGE_URDU_PAKISTAN, "ur_PK", LANG_URDU , SUBLANG_URDU_PAKISTAN , "Urdu (Pakistan)")
LNG(wxLANGUAGE_UZBEK, "uz" , LANG_UZBEK , SUBLANG_DEFAULT , "Uzbek")
LNG(wxLANGUAGE_UZBEK_CYRILLIC, "uz" , LANG_UZBEK , SUBLANG_UZBEK_CYRILLIC , "Uzbek (Cyrillic)")
LNG(wxLANGUAGE_UZBEK_LATIN, "uz" , LANG_UZBEK , SUBLANG_UZBEK_LATIN , "Uzbek (Latin)")
LNG(wxLANGUAGE_VIETNAMESE, "vi_VN", LANG_VIETNAMESE, SUBLANG_DEFAULT , "Vietnamese")
LNG(wxLANGUAGE_VOLAPUK, "vo" , 0 , 0 , "Volapuk")
LNG(wxLANGUAGE_WELSH, "cy" , 0 , 0 , "Welsh")
LNG(wxLANGUAGE_WOLOF, "wo" , 0 , 0 , "Wolof")
LNG(wxLANGUAGE_XHOSA, "xh" , 0 , 0 , "Xhosa")
LNG(wxLANGUAGE_YIDDISH, "yi" , 0 , 0 , "Yiddish")
LNG(wxLANGUAGE_YORUBA, "yo" , 0 , 0 , "Yoruba")
LNG(wxLANGUAGE_ZHUANG, "za" , 0 , 0 , "Zhuang")
LNG(wxLANGUAGE_ZULU, "zu" , 0 , 0 , "Zulu")
};
#undef LNG

243
misc/languages/_wxlang.h Normal file
View File

@ -0,0 +1,243 @@
// This enum is generated by misc/languages/genlang.py
// When making changes, please put them into misc/languages/langtabl.txt
enum wxLanguage
{
// user's default/preffered language as got from OS:
wxLANGUAGE_DEFAULT,
// unknown language, if wxLocale::GetSystemLanguage fails:
wxLANGUAGE_UNKNOWN,
wxLANGUAGE_ABKHAZIAN,
wxLANGUAGE_AFAR,
wxLANGUAGE_AFRIKAANS,
wxLANGUAGE_ALBANIAN,
wxLANGUAGE_AMHARIC,
wxLANGUAGE_ARABIC,
wxLANGUAGE_ARABIC_ALGERIA,
wxLANGUAGE_ARABIC_BAHRAIN,
wxLANGUAGE_ARABIC_EGYPT,
wxLANGUAGE_ARABIC_IRAQ,
wxLANGUAGE_ARABIC_JORDAN,
wxLANGUAGE_ARABIC_KUWAIT,
wxLANGUAGE_ARABIC_LEBANON,
wxLANGUAGE_ARABIC_LIBYA,
wxLANGUAGE_ARABIC_MOROCCO,
wxLANGUAGE_ARABIC_OMAN,
wxLANGUAGE_ARABIC_QATAR,
wxLANGUAGE_ARABIC_SAUDI_ARABIA,
wxLANGUAGE_ARABIC_SUDAN,
wxLANGUAGE_ARABIC_SYRIA,
wxLANGUAGE_ARABIC_TUNISIA,
wxLANGUAGE_ARABIC_UAE,
wxLANGUAGE_ARABIC_YEMEN,
wxLANGUAGE_ARMENIAN,
wxLANGUAGE_ASSAMESE,
wxLANGUAGE_AYMARA,
wxLANGUAGE_AZERI,
wxLANGUAGE_AZERI_CYRILLIC,
wxLANGUAGE_AZERI_LATIN,
wxLANGUAGE_BASHKIR,
wxLANGUAGE_BASQUE,
wxLANGUAGE_BELARUSIAN,
wxLANGUAGE_BENGALI,
wxLANGUAGE_BHUTANI,
wxLANGUAGE_BIHARI,
wxLANGUAGE_BISLAMA,
wxLANGUAGE_BRETON,
wxLANGUAGE_BULGARIAN,
wxLANGUAGE_BURMESE,
wxLANGUAGE_CAMBODIAN,
wxLANGUAGE_CATALAN,
wxLANGUAGE_CHINESE,
wxLANGUAGE_CHINESE_SIMPLIFIED,
wxLANGUAGE_CHINESE_TRADITIONAL,
wxLANGUAGE_CHINESE_HONGKONG,
wxLANGUAGE_CHINESE_MACAU,
wxLANGUAGE_CHINESE_SINGAPORE,
wxLANGUAGE_CHINESE_TAIWAN,
wxLANGUAGE_CORSICAN,
wxLANGUAGE_CROATIAN,
wxLANGUAGE_CZECH,
wxLANGUAGE_DANISH,
wxLANGUAGE_DUTCH,
wxLANGUAGE_DUTCH_BELGIAN,
wxLANGUAGE_ENGLISH,
wxLANGUAGE_ENGLISH_UK,
wxLANGUAGE_ENGLISH_US,
wxLANGUAGE_ENGLISH_AUSTRALIA,
wxLANGUAGE_ENGLISH_BELIZE,
wxLANGUAGE_ENGLISH_BOTSWANA,
wxLANGUAGE_ENGLISH_CANADA,
wxLANGUAGE_ENGLISH_CARIBBEAN,
wxLANGUAGE_ENGLISH_DENMARK,
wxLANGUAGE_ENGLISH_EIRE,
wxLANGUAGE_ENGLISH_JAMAICA,
wxLANGUAGE_ENGLISH_NEW_ZEALAND,
wxLANGUAGE_ENGLISH_PHILIPPINES,
wxLANGUAGE_ENGLISH_SOUTH_AFRICA,
wxLANGUAGE_ENGLISH_TRINIDAD,
wxLANGUAGE_ENGLISH_ZIMBABWE,
wxLANGUAGE_ESPERANTO,
wxLANGUAGE_ESTONIAN,
wxLANGUAGE_FAEROESE,
wxLANGUAGE_FARSI,
wxLANGUAGE_FIJI,
wxLANGUAGE_FINNISH,
wxLANGUAGE_FRENCH,
wxLANGUAGE_FRENCH_BELGIAN,
wxLANGUAGE_FRENCH_CANADIAN,
wxLANGUAGE_FRENCH_LUXEMBOURG,
wxLANGUAGE_FRENCH_MONACO,
wxLANGUAGE_FRENCH_SWISS,
wxLANGUAGE_FRISIAN,
wxLANGUAGE_GALICIAN,
wxLANGUAGE_GEORGIAN,
wxLANGUAGE_GERMAN,
wxLANGUAGE_GERMAN_AUSTRIAN,
wxLANGUAGE_GERMAN_BELGIUM,
wxLANGUAGE_GERMAN_LIECHTENSTEIN,
wxLANGUAGE_GERMAN_LUXEMBOURG,
wxLANGUAGE_GERMAN_SWISS,
wxLANGUAGE_GREEK,
wxLANGUAGE_GREENLANDIC,
wxLANGUAGE_GUARANI,
wxLANGUAGE_GUJARATI,
wxLANGUAGE_HAUSA,
wxLANGUAGE_HEBREW,
wxLANGUAGE_HINDI,
wxLANGUAGE_HUNGARIAN,
wxLANGUAGE_ICELANDIC,
wxLANGUAGE_INDONESIAN,
wxLANGUAGE_INTERLINGUA,
wxLANGUAGE_INTERLINGUE,
wxLANGUAGE_INUKTITUT,
wxLANGUAGE_INUPIAK,
wxLANGUAGE_IRISH,
wxLANGUAGE_ITALIAN,
wxLANGUAGE_ITALIAN_SWISS,
wxLANGUAGE_JAPANESE,
wxLANGUAGE_JAVANESE,
wxLANGUAGE_KANNADA,
wxLANGUAGE_KASHMIRI,
wxLANGUAGE_KASHMIRI_INDIA,
wxLANGUAGE_KAZAKH,
wxLANGUAGE_KINYARWANDA,
wxLANGUAGE_KIRGHIZ,
wxLANGUAGE_KIRUNDI,
wxLANGUAGE_KONKANI,
wxLANGUAGE_KOREAN,
wxLANGUAGE_KURDISH,
wxLANGUAGE_LAOTHIAN,
wxLANGUAGE_LATIN,
wxLANGUAGE_LATVIAN,
wxLANGUAGE_LINGALA,
wxLANGUAGE_LITHUANIAN,
wxLANGUAGE_MACEDONIAN,
wxLANGUAGE_MALAGASY,
wxLANGUAGE_MALAY,
wxLANGUAGE_MALAYALAM,
wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM,
wxLANGUAGE_MALAY_MALAYSIA,
wxLANGUAGE_MALTESE,
wxLANGUAGE_MANIPURI,
wxLANGUAGE_MAORI,
wxLANGUAGE_MARATHI,
wxLANGUAGE_MOLDAVIAN,
wxLANGUAGE_MONGOLIAN,
wxLANGUAGE_NAURU,
wxLANGUAGE_NEPALI,
wxLANGUAGE_NEPALI_INDIA,
wxLANGUAGE_NORWEGIAN,
wxLANGUAGE_NORWEGIAN_BOKMAL,
wxLANGUAGE_NORWEGIAN_NYNORSK,
wxLANGUAGE_OCCITAN,
wxLANGUAGE_ORIYA,
wxLANGUAGE_OROMO,
wxLANGUAGE_PASHTO,
wxLANGUAGE_PERSIAN,
wxLANGUAGE_POLISH,
wxLANGUAGE_PORTUGUESE,
wxLANGUAGE_PORTUGUESE_BRAZILIAN,
wxLANGUAGE_PUNJABI,
wxLANGUAGE_QUECHUA,
wxLANGUAGE_RHAETO_ROMANCE,
wxLANGUAGE_ROMANIAN,
wxLANGUAGE_RUSSIAN,
wxLANGUAGE_RUSSIAN_UKRAINE,
wxLANGUAGE_SAMOAN,
wxLANGUAGE_SANGHO,
wxLANGUAGE_SANSKRIT,
wxLANGUAGE_SCOTS_GAELIC,
wxLANGUAGE_SERBIAN,
wxLANGUAGE_SERBIAN_CYRILLIC,
wxLANGUAGE_SERBIAN_LATIN,
wxLANGUAGE_SERBO_CROATIAN,
wxLANGUAGE_SESOTHO,
wxLANGUAGE_SETSWANA,
wxLANGUAGE_SHONA,
wxLANGUAGE_SINDHI,
wxLANGUAGE_SINHALESE,
wxLANGUAGE_SISWATI,
wxLANGUAGE_SLOVAK,
wxLANGUAGE_SLOVENIAN,
wxLANGUAGE_SOMALI,
wxLANGUAGE_SPANISH,
wxLANGUAGE_SPANISH_ARGENTINA,
wxLANGUAGE_SPANISH_BOLIVIA,
wxLANGUAGE_SPANISH_CHILE,
wxLANGUAGE_SPANISH_COLOMBIA,
wxLANGUAGE_SPANISH_COSTA_RICA,
wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC,
wxLANGUAGE_SPANISH_ECUADOR,
wxLANGUAGE_SPANISH_EL_SALVADOR,
wxLANGUAGE_SPANISH_GUATEMALA,
wxLANGUAGE_SPANISH_HONDURAS,
wxLANGUAGE_SPANISH_MEXICAN,
wxLANGUAGE_SPANISH_MODERN,
wxLANGUAGE_SPANISH_NICARAGUA,
wxLANGUAGE_SPANISH_PANAMA,
wxLANGUAGE_SPANISH_PARAGUAY,
wxLANGUAGE_SPANISH_PERU,
wxLANGUAGE_SPANISH_PUERTO_RICO,
wxLANGUAGE_SPANISH_URUGUAY,
wxLANGUAGE_SPANISH_US,
wxLANGUAGE_SPANISH_VENEZUELA,
wxLANGUAGE_SUNDANESE,
wxLANGUAGE_SWAHILI,
wxLANGUAGE_SWEDISH,
wxLANGUAGE_SWEDISH_FINLAND,
wxLANGUAGE_TAGALOG,
wxLANGUAGE_TAJIK,
wxLANGUAGE_TAMIL,
wxLANGUAGE_TATAR,
wxLANGUAGE_TELUGU,
wxLANGUAGE_THAI,
wxLANGUAGE_TIBETAN,
wxLANGUAGE_TIGRINYA,
wxLANGUAGE_TONGA,
wxLANGUAGE_TSONGA,
wxLANGUAGE_TURKISH,
wxLANGUAGE_TURKMEN,
wxLANGUAGE_TWI,
wxLANGUAGE_UIGHUR,
wxLANGUAGE_UKRAINIAN,
wxLANGUAGE_URDU,
wxLANGUAGE_URDU_INDIA,
wxLANGUAGE_URDU_PAKISTAN,
wxLANGUAGE_UZBEK,
wxLANGUAGE_UZBEK_CYRILLIC,
wxLANGUAGE_UZBEK_LATIN,
wxLANGUAGE_VIETNAMESE,
wxLANGUAGE_VOLAPUK,
wxLANGUAGE_WELSH,
wxLANGUAGE_WOLOF,
wxLANGUAGE_XHOSA,
wxLANGUAGE_YIDDISH,
wxLANGUAGE_YORUBA,
wxLANGUAGE_ZHUANG,
wxLANGUAGE_ZULU,
// for custom, user-defined languages:
wxLANGUAGE_USER_DEFINED
};

92
misc/languages/genlang.py Executable file
View File

@ -0,0 +1,92 @@
#!/usr/bin/env python
#
# Generates wxLanguage enum (to be cut&pasted to include/wx/intl.h)
# and convertion tables (ditto to src/common/intl.cpp)
#
import string
def ReadTable():
table = []
f = open('langtabl.txt')
for i in f.readlines():
ispl = i.split()
table.append((ispl[0], ispl[1], ispl[2], ispl[3], string.join(ispl[4:])))
f.close()
return table
def GenEnum(table):
f = open('_wxlang.h', 'wt')
f.write("""
// This enum is generated by misc/languages/genlang.py
// When making changes, please put them into misc/languages/langtabl.txt
enum wxLanguage
{
// user's default/preffered language as got from OS:
wxLANGUAGE_DEFAULT,
// unknown language, if wxLocale::GetSystemLanguage fails:
wxLANGUAGE_UNKNOWN,
""");
for i in table:
f.write(' %s,\n' % i[0])
f.write("""
// for custom, user-defined languages:
wxLANGUAGE_USER_DEFINED
};
""")
f.close()
def GenTable(table):
f = open('_wxlang.cpp', 'wt')
f.write("""
// This table is generated by misc/languages/genlang.py
// When making changes, please put them into misc/languages/langtabl.txt
#ifdef __WXMSW__
#define SETWINLANG(info,lang,sublang) \\
info.WinLang = lang, info.WinSublang = sublang;
#else
#define SETWINLANG(info,lang,sublang)
#endif
#define LNG(wxlang, canonical, winlang, winsublang, desc) \\
info.Language = wxlang; \\
info.CanonicalName = wxT(canonical); \\
info.Description = desc; \\
SETWINLANG(info, winlang, winsublang) \\
AddLanguage(info);
void wxLocale::InitLanguagesDB()
{
wxLanguageInfo info;
wxStringTokenizer tkn;
""");
for i in table:
ican = '"%s"' % i[1]
if ican == '"-"': ican = '""'
ilang = i[2]
if ilang == '-': ilang = '0'
isublang = i[3]
if isublang == '-': isublang = '0'
f.write(' LNG(%-38s %-7s, %-15s, %-34s, %s)\n' % \
((i[0]+','), ican, ilang, isublang, i[4]))
f.write("""};
#undef LNG
""")
f.close()
table = ReadTable()
GenEnum(table)
GenTable(table)

229
misc/languages/langtabl.txt Normal file
View File

@ -0,0 +1,229 @@
wxLANGUAGE_ABKHAZIAN ab - - "Abkhazian"
wxLANGUAGE_AFAR aa - - "Afar"
wxLANGUAGE_AFRIKAANS af_ZA LANG_AFRIKAANS SUBLANG_DEFAULT "Afrikaans"
wxLANGUAGE_ALBANIAN sq_AL LANG_ALBANIAN SUBLANG_DEFAULT "Albanian"
wxLANGUAGE_AMHARIC am - - "Amharic"
wxLANGUAGE_ARABIC ar LANG_ARABIC SUBLANG_DEFAULT "Arabic"
wxLANGUAGE_ARABIC_ALGERIA ar_DZ LANG_ARABIC SUBLANG_ARABIC_ALGERIA "Arabic (Algeria)"
wxLANGUAGE_ARABIC_BAHRAIN ar_BH LANG_ARABIC SUBLANG_ARABIC_BAHRAIN "Arabic (Bahrain)"
wxLANGUAGE_ARABIC_EGYPT ar_EG LANG_ARABIC SUBLANG_ARABIC_EGYPT "Arabic (Egypt)"
wxLANGUAGE_ARABIC_IRAQ ar_IQ LANG_ARABIC SUBLANG_ARABIC_IRAQ "Arabic (Iraq)"
wxLANGUAGE_ARABIC_JORDAN ar_JO LANG_ARABIC SUBLANG_ARABIC_JORDAN "Arabic (Jordan)"
wxLANGUAGE_ARABIC_KUWAIT ar_KW LANG_ARABIC SUBLANG_ARABIC_KUWAIT "Arabic (Kuwait)"
wxLANGUAGE_ARABIC_LEBANON ar_LB LANG_ARABIC SUBLANG_ARABIC_LEBANON "Arabic (Lebanon)"
wxLANGUAGE_ARABIC_LIBYA ar_LY LANG_ARABIC SUBLANG_ARABIC_LIBYA "Arabic (Libya)"
wxLANGUAGE_ARABIC_MOROCCO ar_MA LANG_ARABIC SUBLANG_ARABIC_MOROCCO "Arabic (Morocco)"
wxLANGUAGE_ARABIC_OMAN ar_OM LANG_ARABIC SUBLANG_ARABIC_OMAN "Arabic (Oman)"
wxLANGUAGE_ARABIC_QATAR ar_QA LANG_ARABIC SUBLANG_ARABIC_QATAR "Arabic (Qatar)"
wxLANGUAGE_ARABIC_SAUDI_ARABIA ar_SA LANG_ARABIC SUBLANG_ARABIC_SAUDI_ARABIA "Arabic (Saudi Arabia)"
wxLANGUAGE_ARABIC_SUDAN ar_SD - - "Arabic (Sudan)"
wxLANGUAGE_ARABIC_SYRIA ar_SY LANG_ARABIC SUBLANG_ARABIC_SYRIA "Arabic (Syria)"
wxLANGUAGE_ARABIC_TUNISIA ar_TN LANG_ARABIC SUBLANG_ARABIC_TUNISIA "Arabic (Tunisia)"
wxLANGUAGE_ARABIC_UAE ar_AE LANG_ARABIC SUBLANG_ARABIC_UAE "Arabic (Uae)"
wxLANGUAGE_ARABIC_YEMEN ar_YE LANG_ARABIC SUBLANG_ARABIC_YEMEN "Arabic (Yemen)"
wxLANGUAGE_ARMENIAN hy LANG_ARMENIAN SUBLANG_DEFAULT "Armenian"
wxLANGUAGE_ASSAMESE as LANG_ASSAMESE SUBLANG_DEFAULT "Assamese"
wxLANGUAGE_AYMARA ay - - "Aymara"
wxLANGUAGE_AZERI az LANG_AZERI SUBLANG_DEFAULT "Azeri"
wxLANGUAGE_AZERI_CYRILLIC az LANG_AZERI SUBLANG_AZERI_CYRILLIC "Azeri (Cyrillic)"
wxLANGUAGE_AZERI_LATIN az LANG_AZERI SUBLANG_AZERI_LATIN "Azeri (Latin)"
wxLANGUAGE_BASHKIR ba - - "Bashkir"
wxLANGUAGE_BASQUE eu_ES LANG_BASQUE SUBLANG_DEFAULT "Basque"
wxLANGUAGE_BELARUSIAN be_BY LANG_BELARUSIAN SUBLANG_DEFAULT "Belarusian"
wxLANGUAGE_BENGALI bn LANG_BENGALI SUBLANG_DEFAULT "Bengali"
wxLANGUAGE_BHUTANI dz - - "Bhutani"
wxLANGUAGE_BIHARI bh - - "Bihari"
wxLANGUAGE_BISLAMA bi - - "Bislama"
wxLANGUAGE_BRETON br - - "Breton"
wxLANGUAGE_BULGARIAN bg_BG LANG_BULGARIAN SUBLANG_DEFAULT "Bulgarian"
wxLANGUAGE_BURMESE my - - "Burmese"
wxLANGUAGE_CAMBODIAN km - - "Cambodian"
wxLANGUAGE_CATALAN ca_ES LANG_CATALAN SUBLANG_DEFAULT "Catalan"
wxLANGUAGE_CHINESE zh_CN LANG_CHINESE SUBLANG_DEFAULT "Chinese"
wxLANGUAGE_CHINESE_SIMPLIFIED zh_CN LANG_CHINESE SUBLANG_CHINESE_SIMPLIFIED "Chinese (Simplified)"
wxLANGUAGE_CHINESE_TRADITIONAL zh_CN LANG_CHINESE SUBLANG_CHINESE_TRADITIONAL "Chinese (Traditional)"
wxLANGUAGE_CHINESE_HONGKONG zh_HK LANG_CHINESE SUBLANG_CHINESE_HONGKONG "Chinese (Hongkong)"
wxLANGUAGE_CHINESE_MACAU zh_MO LANG_CHINESE SUBLANG_CHINESE_MACAU "Chinese (Macau)"
wxLANGUAGE_CHINESE_SINGAPORE zh_SG LANG_CHINESE SUBLANG_CHINESE_SINGAPORE "Chinese (Singapore)"
wxLANGUAGE_CHINESE_TAIWAN zh_TW - - "Chinese (Taiwan)"
wxLANGUAGE_CORSICAN co - - "Corsican"
wxLANGUAGE_CROATIAN hr_HR LANG_CROATIAN SUBLANG_DEFAULT "Croatian"
wxLANGUAGE_CZECH cs_CZ LANG_CZECH SUBLANG_DEFAULT "Czech"
wxLANGUAGE_DANISH da_DK LANG_DANISH SUBLANG_DEFAULT "Danish"
wxLANGUAGE_DUTCH nl_NL LANG_DUTCH SUBLANG_DUTCH "Dutch"
wxLANGUAGE_DUTCH_BELGIAN nl_BE LANG_DUTCH SUBLANG_DUTCH_BELGIAN "Dutch (Belgian)"
wxLANGUAGE_ENGLISH en_GB LANG_ENGLISH SUBLANG_ENGLISH_UK "English"
wxLANGUAGE_ENGLISH_UK en_GB LANG_ENGLISH SUBLANG_ENGLISH_UK "English (U.K.)"
wxLANGUAGE_ENGLISH_US en_US LANG_ENGLISH SUBLANG_ENGLISH_US "English (U.S.)"
wxLANGUAGE_ENGLISH_AUSTRALIA en_AU LANG_ENGLISH SUBLANG_ENGLISH_AUS "English (Australia)"
wxLANGUAGE_ENGLISH_BELIZE en_BZ LANG_ENGLISH SUBLANG_ENGLISH_BELIZE "English (Belize)"
wxLANGUAGE_ENGLISH_BOTSWANA en_BW - - "English (Botswana)"
wxLANGUAGE_ENGLISH_CANADA en_CA LANG_ENGLISH SUBLANG_ENGLISH_CAN "English (Canada)"
wxLANGUAGE_ENGLISH_CARIBBEAN en_CB LANG_ENGLISH SUBLANG_ENGLISH_CARIBBEAN "English (Caribbean)"
wxLANGUAGE_ENGLISH_DENMARK en_DK - - "English (Denmark)"
wxLANGUAGE_ENGLISH_EIRE en_IE LANG_ENGLISH SUBLANG_ENGLISH_EIRE "English (Eire)"
wxLANGUAGE_ENGLISH_JAMAICA en_JM LANG_ENGLISH SUBLANG_ENGLISH_JAMAICA "English (Jamaica)"
wxLANGUAGE_ENGLISH_NEW_ZEALAND en_NZ LANG_ENGLISH SUBLANG_ENGLISH_NZ "English (New Zealand)"
wxLANGUAGE_ENGLISH_PHILIPPINES en_PH LANG_ENGLISH SUBLANG_ENGLISH_PHILIPPINES "English (Philippines)"
wxLANGUAGE_ENGLISH_SOUTH_AFRICA en_ZA LANG_ENGLISH SUBLANG_ENGLISH_SOUTH_AFRICA "English (South Africa)"
wxLANGUAGE_ENGLISH_TRINIDAD en_TT LANG_ENGLISH SUBLANG_ENGLISH_TRINIDAD "English (Trinidad)"
wxLANGUAGE_ENGLISH_ZIMBABWE en_ZW LANG_ENGLISH SUBLANG_ENGLISH_ZIMBABWE "English (Zimbabwe)"
wxLANGUAGE_ESPERANTO eo - - "Esperanto"
wxLANGUAGE_ESTONIAN et_EE LANG_ESTONIAN SUBLANG_DEFAULT "Estonian"
wxLANGUAGE_FAEROESE fo_FO LANG_FAEROESE SUBLANG_DEFAULT "Faeroese"
wxLANGUAGE_FARSI - LANG_FARSI SUBLANG_DEFAULT "Farsi"
wxLANGUAGE_FIJI fj - - "Fiji"
wxLANGUAGE_FINNISH fi_FI LANG_FINNISH SUBLANG_DEFAULT "Finnish"
wxLANGUAGE_FRENCH fr_FR LANG_FRENCH SUBLANG_FRENCH "French"
wxLANGUAGE_FRENCH_BELGIAN fr_BE LANG_FRENCH SUBLANG_FRENCH_BELGIAN "French (Belgian)"
wxLANGUAGE_FRENCH_CANADIAN fr_CA LANG_FRENCH SUBLANG_FRENCH_CANADIAN "French (Canadian)"
wxLANGUAGE_FRENCH_LUXEMBOURG fr_LU LANG_FRENCH SUBLANG_FRENCH_LUXEMBOURG "French (Luxembourg)"
wxLANGUAGE_FRENCH_MONACO fr_MC LANG_FRENCH SUBLANG_FRENCH_MONACO "French (Monaco)"
wxLANGUAGE_FRENCH_SWISS fr_CH LANG_FRENCH SUBLANG_FRENCH_SWISS "French (Swiss)"
wxLANGUAGE_FRISIAN fy - - "Frisian"
wxLANGUAGE_GALICIAN gl_ES - - "Galician"
wxLANGUAGE_GEORGIAN ka LANG_GEORGIAN SUBLANG_DEFAULT "Georgian"
wxLANGUAGE_GERMAN de_DE LANG_GERMAN SUBLANG_GERMAN "German"
wxLANGUAGE_GERMAN_AUSTRIAN de_AT LANG_GERMAN SUBLANG_GERMAN_AUSTRIAN "German (Austrian)"
wxLANGUAGE_GERMAN_BELGIUM de_BE - - "German (Belgium)"
wxLANGUAGE_GERMAN_LIECHTENSTEIN de_LI LANG_GERMAN SUBLANG_GERMAN_LIECHTENSTEIN "German (Liechtenstein)"
wxLANGUAGE_GERMAN_LUXEMBOURG de_LU LANG_GERMAN SUBLANG_GERMAN_LUXEMBOURG "German (Luxembourg)"
wxLANGUAGE_GERMAN_SWISS de_CH LANG_GERMAN SUBLANG_GERMAN_SWISS "German (Swiss)"
wxLANGUAGE_GREEK el_GR LANG_GREEK SUBLANG_DEFAULT "Greek"
wxLANGUAGE_GREENLANDIC kl_GL - - "Greenlandic"
wxLANGUAGE_GUARANI gn - - "Guarani"
wxLANGUAGE_GUJARATI gu LANG_GUJARATI SUBLANG_DEFAULT "Gujarati"
wxLANGUAGE_HAUSA ha - - "Hausa"
wxLANGUAGE_HEBREW he_IL LANG_HEBREW SUBLANG_DEFAULT "Hebrew"
wxLANGUAGE_HINDI hi_IN LANG_HINDI SUBLANG_DEFAULT "Hindi"
wxLANGUAGE_HUNGARIAN hu_HU LANG_HUNGARIAN SUBLANG_DEFAULT "Hungarian"
wxLANGUAGE_ICELANDIC is_IS LANG_ICELANDIC SUBLANG_DEFAULT "Icelandic"
wxLANGUAGE_INDONESIAN id_ID LANG_INDONESIAN SUBLANG_DEFAULT "Indonesian"
wxLANGUAGE_INTERLINGUA ia - - "Interlingua"
wxLANGUAGE_INTERLINGUE ie - - "Interlingue"
wxLANGUAGE_INUKTITUT iu - - "Inuktitut"
wxLANGUAGE_INUPIAK ik - - "Inupiak"
wxLANGUAGE_IRISH ga_IE - - "Irish"
wxLANGUAGE_ITALIAN it_IT LANG_ITALIAN SUBLANG_ITALIAN "Italian"
wxLANGUAGE_ITALIAN_SWISS it_CH LANG_ITALIAN SUBLANG_ITALIAN_SWISS "Italian (Swiss)"
wxLANGUAGE_JAPANESE ja_JP LANG_JAPANESE SUBLANG_DEFAULT "Japanese"
wxLANGUAGE_JAVANESE jw - - "Javanese"
wxLANGUAGE_KANNADA kn LANG_KANNADA SUBLANG_DEFAULT "Kannada"
wxLANGUAGE_KASHMIRI ks LANG_KASHMIRI SUBLANG_DEFAULT "Kashmiri"
wxLANGUAGE_KASHMIRI_INDIA ks_IN LANG_KASHMIRI SUBLANG_KASHMIRI_INDIA "Kashmiri (India)"
wxLANGUAGE_KAZAKH kk LANG_KAZAK SUBLANG_DEFAULT "Kazakh"
wxLANGUAGE_KINYARWANDA rw - - "Kinyarwanda"
wxLANGUAGE_KIRGHIZ ky - - "Kirghiz"
wxLANGUAGE_KIRUNDI rn - - "Kirundi"
wxLANGUAGE_KONKANI - LANG_KONKANI SUBLANG_DEFAULT "Konkani"
wxLANGUAGE_KOREAN ko_KR LANG_KOREAN SUBLANG_KOREAN "Korean"
wxLANGUAGE_KURDISH ku - - "Kurdish"
wxLANGUAGE_LAOTHIAN lo - - "Laothian"
wxLANGUAGE_LATIN la - - "Latin"
wxLANGUAGE_LATVIAN lv_LV LANG_LATVIAN SUBLANG_DEFAULT "Latvian"
wxLANGUAGE_LINGALA ln - - "Lingala"
wxLANGUAGE_LITHUANIAN lt_LT LANG_LITHUANIAN SUBLANG_LITHUANIAN "Lithuanian"
wxLANGUAGE_MACEDONIAN mk_MK LANG_MACEDONIAN SUBLANG_DEFAULT "Macedonian"
wxLANGUAGE_MALAGASY mg - - "Malagasy"
wxLANGUAGE_MALAY ms_MY LANG_MALAY SUBLANG_DEFAULT "Malay"
wxLANGUAGE_MALAYALAM ml LANG_MALAYALAM SUBLANG_DEFAULT "Malayalam"
wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM ms_BN LANG_MALAY SUBLANG_MALAY_BRUNEI_DARUSSALAM "Malay (Brunei Darussalam)"
wxLANGUAGE_MALAY_MALAYSIA ms_MY LANG_MALAY SUBLANG_MALAY_MALAYSIA "Malay (Malaysia)"
wxLANGUAGE_MALTESE mt_MT - - "Maltese"
wxLANGUAGE_MANIPURI - LANG_MANIPURI SUBLANG_DEFAULT "Manipuri"
wxLANGUAGE_MAORI mi - - "Maori"
wxLANGUAGE_MARATHI mr_IN LANG_MARATHI SUBLANG_DEFAULT "Marathi"
wxLANGUAGE_MOLDAVIAN mo - - "Moldavian"
wxLANGUAGE_MONGOLIAN mn - - "Mongolian"
wxLANGUAGE_NAURU na - - "Nauru"
wxLANGUAGE_NEPALI ne LANG_NEPALI SUBLANG_DEFAULT "Nepali"
wxLANGUAGE_NEPALI_INDIA ne_IN LANG_NEPALI SUBLANG_NEPALI_INDIA "Nepali (India)"
wxLANGUAGE_NORWEGIAN no_NO LANG_NORWEGIAN SUBLANG_DEFAULT "Norwegian"
wxLANGUAGE_NORWEGIAN_BOKMAL no_NO LANG_NORWEGIAN SUBLANG_NORWEGIAN_BOKMAL "Norwegian (Bokmal)"
wxLANGUAGE_NORWEGIAN_NYNORSK no_NO LANG_NORWEGIAN SUBLANG_NORWEGIAN_NYNORSK "Norwegian (Nynorsk)"
wxLANGUAGE_OCCITAN oc - - "Occitan"
wxLANGUAGE_ORIYA or LANG_ORIYA SUBLANG_DEFAULT "Oriya"
wxLANGUAGE_OROMO om - - "(Afan) Oromo"
wxLANGUAGE_PASHTO ps - - "Pashto, Pushto"
wxLANGUAGE_PERSIAN fa_IR - - "Persian"
wxLANGUAGE_POLISH pl_PL LANG_POLISH SUBLANG_DEFAULT "Polish"
wxLANGUAGE_PORTUGUESE pt_PT LANG_PORTUGUESE SUBLANG_PORTUGUESE "Portuguese"
wxLANGUAGE_PORTUGUESE_BRAZILIAN pt_BR LANG_PORTUGUESE SUBLANG_PORTUGUESE_BRAZILIAN "Portuguese (Brazilian)"
wxLANGUAGE_PUNJABI pa LANG_PUNJABI SUBLANG_DEFAULT "Punjabi"
wxLANGUAGE_QUECHUA qu - - "Quechua"
wxLANGUAGE_RHAETO_ROMANCE rm - - "Rhaeto-Romance"
wxLANGUAGE_ROMANIAN ro_RO LANG_ROMANIAN SUBLANG_DEFAULT "Romanian"
wxLANGUAGE_RUSSIAN ru_RU LANG_RUSSIAN SUBLANG_DEFAULT "Russian"
wxLANGUAGE_RUSSIAN_UKRAINE ru_UA - - "Russian (Ukraine)"
wxLANGUAGE_SAMOAN sm - - "Samoan"
wxLANGUAGE_SANGHO sg - - "Sangho"
wxLANGUAGE_SANSKRIT sa LANG_SANSKRIT SUBLANG_DEFAULT "Sanskrit"
wxLANGUAGE_SCOTS_GAELIC gd - - "Scots Gaelic"
wxLANGUAGE_SERBIAN sr_YU LANG_SERBIAN SUBLANG_DEFAULT "Serbian"
wxLANGUAGE_SERBIAN_CYRILLIC sr_YU LANG_SERBIAN SUBLANG_SERBIAN_CYRILLIC "Serbian (Cyrillic)"
wxLANGUAGE_SERBIAN_LATIN sr_YU LANG_SERBIAN SUBLANG_SERBIAN_LATIN "Serbian (Latin)"
wxLANGUAGE_SERBO_CROATIAN sh - - "Serbo-Croatian"
wxLANGUAGE_SESOTHO st - - "Sesotho"
wxLANGUAGE_SETSWANA tn - - "Setswana"
wxLANGUAGE_SHONA sn - - "Shona"
wxLANGUAGE_SINDHI sd LANG_SINDHI SUBLANG_DEFAULT "Sindhi"
wxLANGUAGE_SINHALESE si - - "Sinhalese"
wxLANGUAGE_SISWATI ss - - "Siswati"
wxLANGUAGE_SLOVAK sk_SK LANG_SLOVAK SUBLANG_DEFAULT "Slovak"
wxLANGUAGE_SLOVENIAN sl_SI LANG_SLOVENIAN SUBLANG_DEFAULT "Slovenian"
wxLANGUAGE_SOMALI so - - "Somali"
wxLANGUAGE_SPANISH es_ES LANG_SPANISH SUBLANG_SPANISH "Spanish"
wxLANGUAGE_SPANISH_ARGENTINA es_AR LANG_SPANISH SUBLANG_SPANISH_ARGENTINA "Spanish (Argentina)"
wxLANGUAGE_SPANISH_BOLIVIA es_BO LANG_SPANISH SUBLANG_SPANISH_BOLIVIA "Spanish (Bolivia)"
wxLANGUAGE_SPANISH_CHILE es_CL LANG_SPANISH SUBLANG_SPANISH_CHILE "Spanish (Chile)"
wxLANGUAGE_SPANISH_COLOMBIA es_CO LANG_SPANISH SUBLANG_SPANISH_COLOMBIA "Spanish (Colombia)"
wxLANGUAGE_SPANISH_COSTA_RICA es_CR LANG_SPANISH SUBLANG_SPANISH_COSTA_RICA "Spanish (Costa Rica)"
wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC es_DO LANG_SPANISH SUBLANG_SPANISH_DOMINICAN_REPUBLIC "Spanish (Dominican republic)"
wxLANGUAGE_SPANISH_ECUADOR es_EC LANG_SPANISH SUBLANG_SPANISH_ECUADOR "Spanish (Ecuador)"
wxLANGUAGE_SPANISH_EL_SALVADOR es_SV LANG_SPANISH SUBLANG_SPANISH_EL_SALVADOR "Spanish (El Salvador)"
wxLANGUAGE_SPANISH_GUATEMALA es_GT LANG_SPANISH SUBLANG_SPANISH_GUATEMALA "Spanish (Guatemala)"
wxLANGUAGE_SPANISH_HONDURAS es_HN LANG_SPANISH SUBLANG_SPANISH_HONDURAS "Spanish (Honduras)"
wxLANGUAGE_SPANISH_MEXICAN es_MX LANG_SPANISH SUBLANG_SPANISH_MEXICAN "Spanish (Mexican)"
wxLANGUAGE_SPANISH_MODERN es_ES LANG_SPANISH SUBLANG_SPANISH_MODERN "Spanish (Modern)"
wxLANGUAGE_SPANISH_NICARAGUA es_NI LANG_SPANISH SUBLANG_SPANISH_NICARAGUA "Spanish (Nicaragua)"
wxLANGUAGE_SPANISH_PANAMA es_PA LANG_SPANISH SUBLANG_SPANISH_PANAMA "Spanish (Panama)"
wxLANGUAGE_SPANISH_PARAGUAY es_PY LANG_SPANISH SUBLANG_SPANISH_PARAGUAY "Spanish (Paraguay)"
wxLANGUAGE_SPANISH_PERU es_PE LANG_SPANISH SUBLANG_SPANISH_PERU "Spanish (Peru)"
wxLANGUAGE_SPANISH_PUERTO_RICO es_PR LANG_SPANISH SUBLANG_SPANISH_PUERTO_RICO "Spanish (Puerto Rico)"
wxLANGUAGE_SPANISH_URUGUAY es_UY LANG_SPANISH SUBLANG_SPANISH_URUGUAY "Spanish (Uruguay)"
wxLANGUAGE_SPANISH_US es_US - - "Spanish (U.S.)"
wxLANGUAGE_SPANISH_VENEZUELA es_VE LANG_SPANISH SUBLANG_SPANISH_VENEZUELA "Spanish (Venezuela)"
wxLANGUAGE_SUNDANESE su - - "Sundanese"
wxLANGUAGE_SWAHILI sw_KE LANG_SWAHILI SUBLANG_DEFAULT "Swahili"
wxLANGUAGE_SWEDISH sv_SE LANG_SWEDISH SUBLANG_SWEDISH "Swedish"
wxLANGUAGE_SWEDISH_FINLAND sv_FI LANG_SWEDISH SUBLANG_SWEDISH_FINLAND "Swedish (Finland)"
wxLANGUAGE_TAGALOG tl - - "Tagalog"
wxLANGUAGE_TAJIK tg - - "Tajik"
wxLANGUAGE_TAMIL ta LANG_TAMIL SUBLANG_DEFAULT "Tamil"
wxLANGUAGE_TATAR tt LANG_TATAR SUBLANG_DEFAULT "Tatar"
wxLANGUAGE_TELUGU te LANG_TELUGU SUBLANG_DEFAULT "Telugu"
wxLANGUAGE_THAI th_TH LANG_THAI SUBLANG_DEFAULT "Thai"
wxLANGUAGE_TIBETAN bo - - "Tibetan"
wxLANGUAGE_TIGRINYA ti - - "Tigrinya"
wxLANGUAGE_TONGA to - - "Tonga"
wxLANGUAGE_TSONGA ts - - "Tsonga"
wxLANGUAGE_TURKISH tr_TR LANG_TURKISH SUBLANG_DEFAULT "Turkish"
wxLANGUAGE_TURKMEN tk - - "Turkmen"
wxLANGUAGE_TWI tw - - "Twi"
wxLANGUAGE_UIGHUR ug - - "Uighur"
wxLANGUAGE_UKRAINIAN uk_UA LANG_UKRAINIAN SUBLANG_DEFAULT "Ukrainian"
wxLANGUAGE_URDU ur LANG_URDU SUBLANG_DEFAULT "Urdu"
wxLANGUAGE_URDU_INDIA ur_IN LANG_URDU SUBLANG_URDU_INDIA "Urdu (India)"
wxLANGUAGE_URDU_PAKISTAN ur_PK LANG_URDU SUBLANG_URDU_PAKISTAN "Urdu (Pakistan)"
wxLANGUAGE_UZBEK uz LANG_UZBEK SUBLANG_DEFAULT "Uzbek"
wxLANGUAGE_UZBEK_CYRILLIC uz LANG_UZBEK SUBLANG_UZBEK_CYRILLIC "Uzbek (Cyrillic)"
wxLANGUAGE_UZBEK_LATIN uz LANG_UZBEK SUBLANG_UZBEK_LATIN "Uzbek (Latin)"
wxLANGUAGE_VIETNAMESE vi_VN LANG_VIETNAMESE SUBLANG_DEFAULT "Vietnamese"
wxLANGUAGE_VOLAPUK vo - - "Volapuk"
wxLANGUAGE_WELSH cy - - "Welsh"
wxLANGUAGE_WOLOF wo - - "Wolof"
wxLANGUAGE_XHOSA xh - - "Xhosa"
wxLANGUAGE_YIDDISH yi - - "Yiddish"
wxLANGUAGE_YORUBA yo - - "Yoruba"
wxLANGUAGE_ZHUANG za - - "Zhuang"
wxLANGUAGE_ZULU zu - - "Zulu"

View File

@ -47,7 +47,8 @@ protected:
class MyFrame: public wxFrame
{
public:
MyFrame(wxFrame *frame, const char *title, int x, int y, int w, int h);
MyFrame(wxFrame *frame, const char *title, int x, int y, int w, int h,
wxLocale& m_locale);
public:
void OnQuit(wxCommandEvent& event);
@ -56,6 +57,8 @@ public:
void OnOpen(wxCommandEvent& event);
DECLARE_EVENT_TABLE()
wxLocale& m_locale;
};
// ID for the menu commands
@ -81,36 +84,13 @@ IMPLEMENT_APP(MyApp)
// `Main program' equivalent, creating windows and returning main app frame
bool MyApp::OnInit()
{
// set the language to use
const char *language = NULL;
const char *langid = NULL;
switch ( argc )
{
default:
// ignore the other args, fall through
if (argc == 2 && wxString(argv[1]) == "french")
m_locale.Init(wxLANGUAGE_FRENCH);
else if (argc == 2 && wxString(argv[1]) == "german")
m_locale.Init(wxLANGUAGE_GERMAN);
else
m_locale.Init(wxLANGUAGE_DEFAULT);
case 3:
language = argv[1];
langid = argv[2];
break;
case 2:
language = argv[1];
break;
case 1:
language = "french";
langid = "fr";
};
// there are very few systems right now which support locales other than "C"
m_locale.Init(language, langid, "C");
// note that under GTK starting from version 1.2.8 if
// you set locale to "C" and then use ASCII characters above
// #128 in GUI elements, they will be truncated (it seems GTK
// replaces them by \0). You should use either "" (checks
// the value of LC_ALL etc. environment variables) or the form
// accepted by glibc, e.g cs_CZ.
// Initialize the catalogs we'll be using
/* not needed any more, done in wxLocale ctor
@ -121,12 +101,12 @@ bool MyApp::OnInit()
it might not be installed on yours - just ignore the errrors
or comment out this line then */
#ifdef __LINUX__
m_locale.AddCatalog("fileutils"); // 3) and another just for testing
//m_locale.AddCatalog("fileutils"); // 3) and another just for testing
#endif
// Create the main frame window
MyFrame *frame = new MyFrame((wxFrame *) NULL, _("International wxWindows App"),
50, 50, 350, 60);
50, 50, 350, 60, m_locale);
// Give it an icon
frame->SetIcon(wxICON(mondrian));
@ -154,8 +134,10 @@ bool MyApp::OnInit()
}
// My frame constructor
MyFrame::MyFrame(wxFrame *frame, const char *title, int x, int y, int w, int h)
: wxFrame(frame, -1, title, wxPoint(x, y), wxSize(w, h))
MyFrame::MyFrame(wxFrame *frame, const char *title, int x, int y, int w, int h,
wxLocale& l)
: wxFrame(frame, -1, title, wxPoint(x, y), wxSize(w, h)),
m_locale(l)
{
}
@ -166,8 +148,17 @@ void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event) )
void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event))
{
wxMessageDialog(this, _("I18n sample\n"
"© 1998, 1999 Vadim Zeitlin and Julian Smart"),
wxString localeInfo;
localeInfo.Printf(_("Language: %s\n"
"System locale name: %s\n"
"Canonical locale name: %s\n"),
m_locale.GetLocale(),
m_locale.GetSysName().c_str(),
m_locale.GetCanonicalName().c_str());
wxMessageDialog(this, wxString(_("I18n sample\n"
"(c) 1998, 1999 Vadim Zeitlin and Julian Smart"))
+ wxT("\n\n") + localeInfo,
_("About Internat"), wxOK | wxICON_INFORMATION).ShowModal();
}

View File

@ -37,11 +37,17 @@
// wxWindows
#include "wx/defs.h"
#include "wx/string.h"
#include "wx/tokenzr.h"
#include "wx/intl.h"
#include "wx/file.h"
#include "wx/log.h"
#include "wx/debug.h"
#include "wx/utils.h"
#include "wx/dynarray.h"
#ifdef __WIN32__
#include "wx/msw/private.h"
#endif
#include <stdlib.h>
@ -521,10 +527,18 @@ void wxMsgCatalog::ConvertEncoding()
// wxLocale
// ----------------------------------------------------------------------------
#include "wx/arrimpl.cpp"
WX_DECLARE_EXPORTED_OBJARRAY(wxLanguageInfo, wxLanguageInfoArray);
WX_DEFINE_OBJARRAY(wxLanguageInfoArray);
wxLocale::wxLocale()
{
m_pszOldLocale = NULL;
m_pMsgCat = NULL;
m_languagesDB = NULL;
m_language = wxLANGUAGE_UNKNOWN;
}
// NB: this function has (desired) side effect of changing current locale
@ -537,6 +551,7 @@ bool wxLocale::Init(const wxChar *szName,
m_strLocale = szName;
m_strShort = szShort;
m_bConvertEncoding = bConvertEncoding;
m_language = wxLANGUAGE_UNKNOWN;
// change current locale (default: same as long name)
if ( szLocale == NULL )
@ -568,6 +583,113 @@ bool wxLocale::Init(const wxChar *szName,
return bOk;
}
bool wxLocale::Init(int language, int flags)
{
wxLanguageInfo *info = NULL;
int lang = language;
if (m_languagesDB == NULL)
{
m_languagesDB = new wxLanguageInfoArray;
InitLanguagesDB();
}
if (lang == wxLANGUAGE_DEFAULT) lang = GetSystemLanguage();
if (lang != wxLANGUAGE_UNKNOWN)
{
for (size_t i = 0; i < m_languagesDB->GetCount(); i++)
{
if (m_languagesDB->Item(i).Language == lang)
{
info = &m_languagesDB->Item(i);
break;
}
}
}
// We failed to detect system language, so we will use English:
if (lang == wxLANGUAGE_UNKNOWN)
{
return FALSE;
}
// Unknown language:
if (info == NULL)
{
wxLogError(wxT("Unknown language %i."), lang);
return FALSE;
}
wxString name = info->Description;
wxString canonical = info->CanonicalName;
wxString locale;
wxChar *retloc;
// Set the locale:
#ifdef __UNIX__
if (language == wxLANGUAGE_DEFAULT) locale = wxEmptyString;
else locale = info->CanonicalName;
retloc = wxSetlocale(LC_ALL, locale);
if (retloc == NULL)
{
// Some C libraries don't like xx_YY form and require xx only
retloc = wxSetlocale(LC_ALL, locale.Mid(0,2));
}
if (retloc == NULL)
{
// Some C libraries (namely glibc) still use old ISO 639,
// so will translate the abbrev for them
wxString mid = locale.Mid(0,2);
if (mid == wxT("he")) locale = wxT("iw") + locale.Mid(3);
else if (mid == wxT("id")) locale = wxT("in") + locale.Mid(3);
else if (mid == wxT("yi")) locale = wxT("ji") + locale.Mid(3);
retloc = wxSetlocale(LC_ALL, locale);
}
if (retloc == NULL)
{
// (This time, we changed locale in previous if-branch, so try again.)
// Some C libraries don't like xx_YY form and require xx only
retloc = wxSetlocale(LC_ALL, locale.Mid(0,2));
}
if (retloc == NULL)
{
wxLogError(wxT("Cannot set locale to '%s'."), locale.c_str());
return FALSE;
}
#elif defined(__WIN32__)
if (language != wxLANGUAGE_DEFAULT)
{
wxUint32 lcid = MAKELCID(MAKELANGID(info->WinLang, info->WinSublang),
SORT_DEFAULT);
if (!SetThreadLocale(lcid))
{
wxLogLastError(wxT("SetThreadLocale"));
wxLogError(wxT("Cannot set locale to language %s."), name.c_str());
return FALSE;
}
}
retloc = wxSetlocale(LC_ALL, wxEmptyString);
if (retloc == NULL)
{
wxLogError(wxT("Cannot set locale to language %s."), name.c_str());
return FALSE;
}
#else
return FALSE;
#endif
return Init(name, canonical, wxString(retloc),
(flags & wxLOCALE_LOAD_DEFAULT) != 0,
(flags & wxLOCALE_CONV_ENCODING) != 0);
}
void wxLocale::AddCatalogLookupPathPrefix(const wxString& prefix)
{
if ( s_searchPrefixes.Index(prefix) == wxNOT_FOUND )
@ -577,6 +699,126 @@ void wxLocale::AddCatalogLookupPathPrefix(const wxString& prefix)
//else: already have it
}
int wxLocale::GetSystemLanguage()
{
int wxlang = wxLANGUAGE_UNKNOWN;
size_t i;
wxASSERT_MSG(m_languagesDB != NULL, "Languages DB not initialized, call wxLocale::Init!");
#if defined(__UNIX__)
wxString lang;
if (!wxGetEnv(wxT("LC_ALL"), &lang) &&
!wxGetEnv(wxT("LC_MESSAGES"), &lang) &&
!wxGetEnv(wxT("LANG"), &lang))
return wxLANGUAGE_UNKNOWN;
bool is_abbrev = lang.Len() == 2 ||
(lang.Len() == 5 && lang[2] == wxT('_'));
// 0. Make sure the abbrev is according to latest ISO 639
// (this is neccessary because glibc uses iw and in instead
// of he and id respectively).
if (is_abbrev)
{
wxString mid = lang.Mid(0,2);
if (mid == wxT("iw")) lang = wxT("he") + lang.Mid(3);
else if (mid == wxT("in")) lang = wxT("id") + lang.Mid(3);
else if (mid == wxT("ji")) lang = wxT("yi") + lang.Mid(3);
}
// 1. Try to find the lang as is:
if (is_abbrev)
{
for (i = 0; i < m_languagesDB->GetCount(); i++)
{
if (m_languagesDB->Item(i).CanonicalName == lang)
{
wxlang = m_languagesDB->Item(i).Language;
break;
}
}
}
// 2. If lang is of the form xx_YY, try to find xx:
if (wxlang == wxLANGUAGE_UNKNOWN && is_abbrev && lang.Len() == 5)
{
wxString lang2 = lang.Mid(0,2);
for (i = 0; i < m_languagesDB->GetCount(); i++)
{
if (m_languagesDB->Item(i).CanonicalName == lang2)
{
wxlang = m_languagesDB->Item(i).Language;
break;
}
}
}
// 3. If lang is of the form xx, try to find any xx_YY record:
if (wxlang == wxLANGUAGE_UNKNOWN && is_abbrev && lang.Len() == 2)
{
for (i = 0; i < m_languagesDB->GetCount(); i++)
{
if (m_languagesDB->Item(i).CanonicalName.Mid(0,2) == lang)
{
wxlang = m_languagesDB->Item(i).Language;
break;
}
}
}
// 4. If everything failed, try to find the name in verbose description
// (SuSE is known to use LANG="german"):
if (wxlang == wxLANGUAGE_UNKNOWN && !is_abbrev)
{
for (i = 0; i < m_languagesDB->GetCount(); i++)
{
if (m_languagesDB->Item(i).Description.CmpNoCase(lang) == 0)
{
wxlang = m_languagesDB->Item(i).Language;
break;
}
}
}
#elif defined(__WIN32__)
LCID lcid = GetUserDefaultLCID();
if (lcid == 0) return wxLANGUAGE_UNKNOWN;
wxUint32 lang = PRIMARYLANGID(LANGIDFROMLCID(lcid));
wxUint32 sublang = SUBLANGID(LANGIDFROMLCID(lcid));
for (i = 0; i < m_languagesDB->GetCount(); i++)
{
if (m_languagesDB->Item(i).WinLang == lang &&
m_languagesDB->Item(i).WinSublang == sublang)
{
wxlang = m_languagesDB->Item(i).Language;
break;
}
}
#endif
return wxlang;
}
void wxLocale::AddLanguage(const wxLanguageInfo& info)
{
wxASSERT_MSG(m_languagesDB != NULL, "Languages DB not initialized, call wxLocale::Init!");
m_languagesDB->Add(info);
}
wxString wxLocale::GetSysName() const
{
return wxSetlocale(LC_ALL, NULL);
}
// clean up
wxLocale::~wxLocale()
{
@ -588,6 +830,8 @@ wxLocale::~wxLocale()
delete pTmpCat;
}
delete m_languagesDB;
// restore old locale
wxSetLocale(m_pOldLocale);
wxSetlocale(LC_ALL, m_pszOldLocale);
@ -693,6 +937,11 @@ bool wxLocale::AddCatalog(const wxChar *szDomain)
}
}
// ----------------------------------------------------------------------------
// global functions and variables
// ----------------------------------------------------------------------------
@ -715,5 +964,269 @@ wxLocale *wxSetLocale(wxLocale *pLocale)
return pOld;
}
// ----------------------------------------------------------------------------
// default languages table & initialization
// ----------------------------------------------------------------------------
// This table is generated by misc/languages/genlang.py
// When making changes, please put them into misc/languages/langtabl.txt
#ifdef __WXMSW__
#define SETWINLANG(info,lang,sublang) \
info.WinLang = lang, info.WinSublang = sublang;
#else
#define SETWINLANG(info,lang,sublang)
#endif
#define LNG(wxlang, canonical, winlang, winsublang, desc) \
info.Language = wxlang; \
info.CanonicalName = wxT(canonical); \
info.Description = desc; \
SETWINLANG(info, winlang, winsublang) \
AddLanguage(info);
void wxLocale::InitLanguagesDB()
{
wxLanguageInfo info;
wxStringTokenizer tkn;
LNG(wxLANGUAGE_ABKHAZIAN, "ab" , 0 , 0 , "Abkhazian")
LNG(wxLANGUAGE_AFAR, "aa" , 0 , 0 , "Afar")
LNG(wxLANGUAGE_AFRIKAANS, "af_ZA", LANG_AFRIKAANS , SUBLANG_DEFAULT , "Afrikaans")
LNG(wxLANGUAGE_ALBANIAN, "sq_AL", LANG_ALBANIAN , SUBLANG_DEFAULT , "Albanian")
LNG(wxLANGUAGE_AMHARIC, "am" , 0 , 0 , "Amharic")
LNG(wxLANGUAGE_ARABIC, "ar" , LANG_ARABIC , SUBLANG_DEFAULT , "Arabic")
LNG(wxLANGUAGE_ARABIC_ALGERIA, "ar_DZ", LANG_ARABIC , SUBLANG_ARABIC_ALGERIA , "Arabic (Algeria)")
LNG(wxLANGUAGE_ARABIC_BAHRAIN, "ar_BH", LANG_ARABIC , SUBLANG_ARABIC_BAHRAIN , "Arabic (Bahrain)")
LNG(wxLANGUAGE_ARABIC_EGYPT, "ar_EG", LANG_ARABIC , SUBLANG_ARABIC_EGYPT , "Arabic (Egypt)")
LNG(wxLANGUAGE_ARABIC_IRAQ, "ar_IQ", LANG_ARABIC , SUBLANG_ARABIC_IRAQ , "Arabic (Iraq)")
LNG(wxLANGUAGE_ARABIC_JORDAN, "ar_JO", LANG_ARABIC , SUBLANG_ARABIC_JORDAN , "Arabic (Jordan)")
LNG(wxLANGUAGE_ARABIC_KUWAIT, "ar_KW", LANG_ARABIC , SUBLANG_ARABIC_KUWAIT , "Arabic (Kuwait)")
LNG(wxLANGUAGE_ARABIC_LEBANON, "ar_LB", LANG_ARABIC , SUBLANG_ARABIC_LEBANON , "Arabic (Lebanon)")
LNG(wxLANGUAGE_ARABIC_LIBYA, "ar_LY", LANG_ARABIC , SUBLANG_ARABIC_LIBYA , "Arabic (Libya)")
LNG(wxLANGUAGE_ARABIC_MOROCCO, "ar_MA", LANG_ARABIC , SUBLANG_ARABIC_MOROCCO , "Arabic (Morocco)")
LNG(wxLANGUAGE_ARABIC_OMAN, "ar_OM", LANG_ARABIC , SUBLANG_ARABIC_OMAN , "Arabic (Oman)")
LNG(wxLANGUAGE_ARABIC_QATAR, "ar_QA", LANG_ARABIC , SUBLANG_ARABIC_QATAR , "Arabic (Qatar)")
LNG(wxLANGUAGE_ARABIC_SAUDI_ARABIA, "ar_SA", LANG_ARABIC , SUBLANG_ARABIC_SAUDI_ARABIA , "Arabic (Saudi Arabia)")
LNG(wxLANGUAGE_ARABIC_SUDAN, "ar_SD", 0 , 0 , "Arabic (Sudan)")
LNG(wxLANGUAGE_ARABIC_SYRIA, "ar_SY", LANG_ARABIC , SUBLANG_ARABIC_SYRIA , "Arabic (Syria)")
LNG(wxLANGUAGE_ARABIC_TUNISIA, "ar_TN", LANG_ARABIC , SUBLANG_ARABIC_TUNISIA , "Arabic (Tunisia)")
LNG(wxLANGUAGE_ARABIC_UAE, "ar_AE", LANG_ARABIC , SUBLANG_ARABIC_UAE , "Arabic (Uae)")
LNG(wxLANGUAGE_ARABIC_YEMEN, "ar_YE", LANG_ARABIC , SUBLANG_ARABIC_YEMEN , "Arabic (Yemen)")
LNG(wxLANGUAGE_ARMENIAN, "hy" , LANG_ARMENIAN , SUBLANG_DEFAULT , "Armenian")
LNG(wxLANGUAGE_ASSAMESE, "as" , LANG_ASSAMESE , SUBLANG_DEFAULT , "Assamese")
LNG(wxLANGUAGE_AYMARA, "ay" , 0 , 0 , "Aymara")
LNG(wxLANGUAGE_AZERI, "az" , LANG_AZERI , SUBLANG_DEFAULT , "Azeri")
LNG(wxLANGUAGE_AZERI_CYRILLIC, "az" , LANG_AZERI , SUBLANG_AZERI_CYRILLIC , "Azeri (Cyrillic)")
LNG(wxLANGUAGE_AZERI_LATIN, "az" , LANG_AZERI , SUBLANG_AZERI_LATIN , "Azeri (Latin)")
LNG(wxLANGUAGE_BASHKIR, "ba" , 0 , 0 , "Bashkir")
LNG(wxLANGUAGE_BASQUE, "eu_ES", LANG_BASQUE , SUBLANG_DEFAULT , "Basque")
LNG(wxLANGUAGE_BELARUSIAN, "be_BY", LANG_BELARUSIAN, SUBLANG_DEFAULT , "Belarusian")
LNG(wxLANGUAGE_BENGALI, "bn" , LANG_BENGALI , SUBLANG_DEFAULT , "Bengali")
LNG(wxLANGUAGE_BHUTANI, "dz" , 0 , 0 , "Bhutani")
LNG(wxLANGUAGE_BIHARI, "bh" , 0 , 0 , "Bihari")
LNG(wxLANGUAGE_BISLAMA, "bi" , 0 , 0 , "Bislama")
LNG(wxLANGUAGE_BRETON, "br" , 0 , 0 , "Breton")
LNG(wxLANGUAGE_BULGARIAN, "bg_BG", LANG_BULGARIAN , SUBLANG_DEFAULT , "Bulgarian")
LNG(wxLANGUAGE_BURMESE, "my" , 0 , 0 , "Burmese")
LNG(wxLANGUAGE_CAMBODIAN, "km" , 0 , 0 , "Cambodian")
LNG(wxLANGUAGE_CATALAN, "ca_ES", LANG_CATALAN , SUBLANG_DEFAULT , "Catalan")
LNG(wxLANGUAGE_CHINESE, "zh_CN", LANG_CHINESE , SUBLANG_DEFAULT , "Chinese")
LNG(wxLANGUAGE_CHINESE_SIMPLIFIED, "zh_CN", LANG_CHINESE , SUBLANG_CHINESE_SIMPLIFIED , "Chinese (Simplified)")
LNG(wxLANGUAGE_CHINESE_TRADITIONAL, "zh_CN", LANG_CHINESE , SUBLANG_CHINESE_TRADITIONAL , "Chinese (Traditional)")
LNG(wxLANGUAGE_CHINESE_HONGKONG, "zh_HK", LANG_CHINESE , SUBLANG_CHINESE_HONGKONG , "Chinese (Hongkong)")
LNG(wxLANGUAGE_CHINESE_MACAU, "zh_MO", LANG_CHINESE , SUBLANG_CHINESE_MACAU , "Chinese (Macau)")
LNG(wxLANGUAGE_CHINESE_SINGAPORE, "zh_SG", LANG_CHINESE , SUBLANG_CHINESE_SINGAPORE , "Chinese (Singapore)")
LNG(wxLANGUAGE_CHINESE_TAIWAN, "zh_TW", 0 , 0 , "Chinese (Taiwan)")
LNG(wxLANGUAGE_CORSICAN, "co" , 0 , 0 , "Corsican")
LNG(wxLANGUAGE_CROATIAN, "hr_HR", LANG_CROATIAN , SUBLANG_DEFAULT , "Croatian")
LNG(wxLANGUAGE_CZECH, "cs_CZ", LANG_CZECH , SUBLANG_DEFAULT , "Czech")
LNG(wxLANGUAGE_DANISH, "da_DK", LANG_DANISH , SUBLANG_DEFAULT , "Danish")
LNG(wxLANGUAGE_DUTCH, "nl_NL", LANG_DUTCH , SUBLANG_DUTCH , "Dutch")
LNG(wxLANGUAGE_DUTCH_BELGIAN, "nl_BE", LANG_DUTCH , SUBLANG_DUTCH_BELGIAN , "Dutch (Belgian)")
LNG(wxLANGUAGE_ENGLISH, "en_GB", LANG_ENGLISH , SUBLANG_ENGLISH_UK , "English")
LNG(wxLANGUAGE_ENGLISH_UK, "en_GB", LANG_ENGLISH , SUBLANG_ENGLISH_UK , "English (U.K.)")
LNG(wxLANGUAGE_ENGLISH_US, "en_US", LANG_ENGLISH , SUBLANG_ENGLISH_US , "English (U.S.)")
LNG(wxLANGUAGE_ENGLISH_AUSTRALIA, "en_AU", LANG_ENGLISH , SUBLANG_ENGLISH_AUS , "English (Australia)")
LNG(wxLANGUAGE_ENGLISH_BELIZE, "en_BZ", LANG_ENGLISH , SUBLANG_ENGLISH_BELIZE , "English (Belize)")
LNG(wxLANGUAGE_ENGLISH_BOTSWANA, "en_BW", 0 , 0 , "English (Botswana)")
LNG(wxLANGUAGE_ENGLISH_CANADA, "en_CA", LANG_ENGLISH , SUBLANG_ENGLISH_CAN , "English (Canada)")
LNG(wxLANGUAGE_ENGLISH_CARIBBEAN, "en_CB", LANG_ENGLISH , SUBLANG_ENGLISH_CARIBBEAN , "English (Caribbean)")
LNG(wxLANGUAGE_ENGLISH_DENMARK, "en_DK", 0 , 0 , "English (Denmark)")
LNG(wxLANGUAGE_ENGLISH_EIRE, "en_IE", LANG_ENGLISH , SUBLANG_ENGLISH_EIRE , "English (Eire)")
LNG(wxLANGUAGE_ENGLISH_JAMAICA, "en_JM", LANG_ENGLISH , SUBLANG_ENGLISH_JAMAICA , "English (Jamaica)")
LNG(wxLANGUAGE_ENGLISH_NEW_ZEALAND, "en_NZ", LANG_ENGLISH , SUBLANG_ENGLISH_NZ , "English (New Zealand)")
LNG(wxLANGUAGE_ENGLISH_PHILIPPINES, "en_PH", LANG_ENGLISH , SUBLANG_ENGLISH_PHILIPPINES , "English (Philippines)")
LNG(wxLANGUAGE_ENGLISH_SOUTH_AFRICA, "en_ZA", LANG_ENGLISH , SUBLANG_ENGLISH_SOUTH_AFRICA , "English (South Africa)")
LNG(wxLANGUAGE_ENGLISH_TRINIDAD, "en_TT", LANG_ENGLISH , SUBLANG_ENGLISH_TRINIDAD , "English (Trinidad)")
LNG(wxLANGUAGE_ENGLISH_ZIMBABWE, "en_ZW", LANG_ENGLISH , SUBLANG_ENGLISH_ZIMBABWE , "English (Zimbabwe)")
LNG(wxLANGUAGE_ESPERANTO, "eo" , 0 , 0 , "Esperanto")
LNG(wxLANGUAGE_ESTONIAN, "et_EE", LANG_ESTONIAN , SUBLANG_DEFAULT , "Estonian")
LNG(wxLANGUAGE_FAEROESE, "fo_FO", LANG_FAEROESE , SUBLANG_DEFAULT , "Faeroese")
LNG(wxLANGUAGE_FARSI, "" , LANG_FARSI , SUBLANG_DEFAULT , "Farsi")
LNG(wxLANGUAGE_FIJI, "fj" , 0 , 0 , "Fiji")
LNG(wxLANGUAGE_FINNISH, "fi_FI", LANG_FINNISH , SUBLANG_DEFAULT , "Finnish")
LNG(wxLANGUAGE_FRENCH, "fr_FR", LANG_FRENCH , SUBLANG_FRENCH , "French")
LNG(wxLANGUAGE_FRENCH_BELGIAN, "fr_BE", LANG_FRENCH , SUBLANG_FRENCH_BELGIAN , "French (Belgian)")
LNG(wxLANGUAGE_FRENCH_CANADIAN, "fr_CA", LANG_FRENCH , SUBLANG_FRENCH_CANADIAN , "French (Canadian)")
LNG(wxLANGUAGE_FRENCH_LUXEMBOURG, "fr_LU", LANG_FRENCH , SUBLANG_FRENCH_LUXEMBOURG , "French (Luxembourg)")
LNG(wxLANGUAGE_FRENCH_MONACO, "fr_MC", LANG_FRENCH , SUBLANG_FRENCH_MONACO , "French (Monaco)")
LNG(wxLANGUAGE_FRENCH_SWISS, "fr_CH", LANG_FRENCH , SUBLANG_FRENCH_SWISS , "French (Swiss)")
LNG(wxLANGUAGE_FRISIAN, "fy" , 0 , 0 , "Frisian")
LNG(wxLANGUAGE_GALICIAN, "gl_ES", 0 , 0 , "Galician")
LNG(wxLANGUAGE_GEORGIAN, "ka" , LANG_GEORGIAN , SUBLANG_DEFAULT , "Georgian")
LNG(wxLANGUAGE_GERMAN, "de_DE", LANG_GERMAN , SUBLANG_GERMAN , "German")
LNG(wxLANGUAGE_GERMAN_AUSTRIAN, "de_AT", LANG_GERMAN , SUBLANG_GERMAN_AUSTRIAN , "German (Austrian)")
LNG(wxLANGUAGE_GERMAN_BELGIUM, "de_BE", 0 , 0 , "German (Belgium)")
LNG(wxLANGUAGE_GERMAN_LIECHTENSTEIN, "de_LI", LANG_GERMAN , SUBLANG_GERMAN_LIECHTENSTEIN , "German (Liechtenstein)")
LNG(wxLANGUAGE_GERMAN_LUXEMBOURG, "de_LU", LANG_GERMAN , SUBLANG_GERMAN_LUXEMBOURG , "German (Luxembourg)")
LNG(wxLANGUAGE_GERMAN_SWISS, "de_CH", LANG_GERMAN , SUBLANG_GERMAN_SWISS , "German (Swiss)")
LNG(wxLANGUAGE_GREEK, "el_GR", LANG_GREEK , SUBLANG_DEFAULT , "Greek")
LNG(wxLANGUAGE_GREENLANDIC, "kl_GL", 0 , 0 , "Greenlandic")
LNG(wxLANGUAGE_GUARANI, "gn" , 0 , 0 , "Guarani")
LNG(wxLANGUAGE_GUJARATI, "gu" , LANG_GUJARATI , SUBLANG_DEFAULT , "Gujarati")
LNG(wxLANGUAGE_HAUSA, "ha" , 0 , 0 , "Hausa")
LNG(wxLANGUAGE_HEBREW, "he_IL", LANG_HEBREW , SUBLANG_DEFAULT , "Hebrew")
LNG(wxLANGUAGE_HINDI, "hi_IN", LANG_HINDI , SUBLANG_DEFAULT , "Hindi")
LNG(wxLANGUAGE_HUNGARIAN, "hu_HU", LANG_HUNGARIAN , SUBLANG_DEFAULT , "Hungarian")
LNG(wxLANGUAGE_ICELANDIC, "is_IS", LANG_ICELANDIC , SUBLANG_DEFAULT , "Icelandic")
LNG(wxLANGUAGE_INDONESIAN, "id_ID", LANG_INDONESIAN, SUBLANG_DEFAULT , "Indonesian")
LNG(wxLANGUAGE_INTERLINGUA, "ia" , 0 , 0 , "Interlingua")
LNG(wxLANGUAGE_INTERLINGUE, "ie" , 0 , 0 , "Interlingue")
LNG(wxLANGUAGE_INUKTITUT, "iu" , 0 , 0 , "Inuktitut")
LNG(wxLANGUAGE_INUPIAK, "ik" , 0 , 0 , "Inupiak")
LNG(wxLANGUAGE_IRISH, "ga_IE", 0 , 0 , "Irish")
LNG(wxLANGUAGE_ITALIAN, "it_IT", LANG_ITALIAN , SUBLANG_ITALIAN , "Italian")
LNG(wxLANGUAGE_ITALIAN_SWISS, "it_CH", LANG_ITALIAN , SUBLANG_ITALIAN_SWISS , "Italian (Swiss)")
LNG(wxLANGUAGE_JAPANESE, "ja_JP", LANG_JAPANESE , SUBLANG_DEFAULT , "Japanese")
LNG(wxLANGUAGE_JAVANESE, "jw" , 0 , 0 , "Javanese")
LNG(wxLANGUAGE_KANNADA, "kn" , LANG_KANNADA , SUBLANG_DEFAULT , "Kannada")
LNG(wxLANGUAGE_KASHMIRI, "ks" , LANG_KASHMIRI , SUBLANG_DEFAULT , "Kashmiri")
LNG(wxLANGUAGE_KASHMIRI_INDIA, "ks_IN", LANG_KASHMIRI , SUBLANG_KASHMIRI_INDIA , "Kashmiri (India)")
LNG(wxLANGUAGE_KAZAKH, "kk" , LANG_KAZAK , SUBLANG_DEFAULT , "Kazakh")
LNG(wxLANGUAGE_KINYARWANDA, "rw" , 0 , 0 , "Kinyarwanda")
LNG(wxLANGUAGE_KIRGHIZ, "ky" , 0 , 0 , "Kirghiz")
LNG(wxLANGUAGE_KIRUNDI, "rn" , 0 , 0 , "Kirundi")
LNG(wxLANGUAGE_KONKANI, "" , LANG_KONKANI , SUBLANG_DEFAULT , "Konkani")
LNG(wxLANGUAGE_KOREAN, "ko_KR", LANG_KOREAN , SUBLANG_KOREAN , "Korean")
LNG(wxLANGUAGE_KURDISH, "ku" , 0 , 0 , "Kurdish")
LNG(wxLANGUAGE_LAOTHIAN, "lo" , 0 , 0 , "Laothian")
LNG(wxLANGUAGE_LATIN, "la" , 0 , 0 , "Latin")
LNG(wxLANGUAGE_LATVIAN, "lv_LV", LANG_LATVIAN , SUBLANG_DEFAULT , "Latvian")
LNG(wxLANGUAGE_LINGALA, "ln" , 0 , 0 , "Lingala")
LNG(wxLANGUAGE_LITHUANIAN, "lt_LT", LANG_LITHUANIAN, SUBLANG_LITHUANIAN , "Lithuanian")
LNG(wxLANGUAGE_MACEDONIAN, "mk_MK", LANG_MACEDONIAN, SUBLANG_DEFAULT , "Macedonian")
LNG(wxLANGUAGE_MALAGASY, "mg" , 0 , 0 , "Malagasy")
LNG(wxLANGUAGE_MALAY, "ms_MY", LANG_MALAY , SUBLANG_DEFAULT , "Malay")
LNG(wxLANGUAGE_MALAYALAM, "ml" , LANG_MALAYALAM , SUBLANG_DEFAULT , "Malayalam")
LNG(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM, "ms_BN", LANG_MALAY , SUBLANG_MALAY_BRUNEI_DARUSSALAM , "Malay (Brunei Darussalam)")
LNG(wxLANGUAGE_MALAY_MALAYSIA, "ms_MY", LANG_MALAY , SUBLANG_MALAY_MALAYSIA , "Malay (Malaysia)")
LNG(wxLANGUAGE_MALTESE, "mt_MT", 0 , 0 , "Maltese")
LNG(wxLANGUAGE_MANIPURI, "" , LANG_MANIPURI , SUBLANG_DEFAULT , "Manipuri")
LNG(wxLANGUAGE_MAORI, "mi" , 0 , 0 , "Maori")
LNG(wxLANGUAGE_MARATHI, "mr_IN", LANG_MARATHI , SUBLANG_DEFAULT , "Marathi")
LNG(wxLANGUAGE_MOLDAVIAN, "mo" , 0 , 0 , "Moldavian")
LNG(wxLANGUAGE_MONGOLIAN, "mn" , 0 , 0 , "Mongolian")
LNG(wxLANGUAGE_NAURU, "na" , 0 , 0 , "Nauru")
LNG(wxLANGUAGE_NEPALI, "ne" , LANG_NEPALI , SUBLANG_DEFAULT , "Nepali")
LNG(wxLANGUAGE_NEPALI_INDIA, "ne_IN", LANG_NEPALI , SUBLANG_NEPALI_INDIA , "Nepali (India)")
LNG(wxLANGUAGE_NORWEGIAN, "no_NO", LANG_NORWEGIAN , SUBLANG_DEFAULT , "Norwegian")
LNG(wxLANGUAGE_NORWEGIAN_BOKMAL, "no_NO", LANG_NORWEGIAN , SUBLANG_NORWEGIAN_BOKMAL , "Norwegian (Bokmal)")
LNG(wxLANGUAGE_NORWEGIAN_NYNORSK, "no_NO", LANG_NORWEGIAN , SUBLANG_NORWEGIAN_NYNORSK , "Norwegian (Nynorsk)")
LNG(wxLANGUAGE_OCCITAN, "oc" , 0 , 0 , "Occitan")
LNG(wxLANGUAGE_ORIYA, "or" , LANG_ORIYA , SUBLANG_DEFAULT , "Oriya")
LNG(wxLANGUAGE_OROMO, "om" , 0 , 0 , "(Afan) Oromo")
LNG(wxLANGUAGE_PASHTO, "ps" , 0 , 0 , "Pashto, Pushto")
LNG(wxLANGUAGE_PERSIAN, "fa_IR", 0 , 0 , "Persian")
LNG(wxLANGUAGE_POLISH, "pl_PL", LANG_POLISH , SUBLANG_DEFAULT , "Polish")
LNG(wxLANGUAGE_PORTUGUESE, "pt_PT", LANG_PORTUGUESE, SUBLANG_PORTUGUESE , "Portuguese")
LNG(wxLANGUAGE_PORTUGUESE_BRAZILIAN, "pt_BR", LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN , "Portuguese (Brazilian)")
LNG(wxLANGUAGE_PUNJABI, "pa" , LANG_PUNJABI , SUBLANG_DEFAULT , "Punjabi")
LNG(wxLANGUAGE_QUECHUA, "qu" , 0 , 0 , "Quechua")
LNG(wxLANGUAGE_RHAETO_ROMANCE, "rm" , 0 , 0 , "Rhaeto-Romance")
LNG(wxLANGUAGE_ROMANIAN, "ro_RO", LANG_ROMANIAN , SUBLANG_DEFAULT , "Romanian")
LNG(wxLANGUAGE_RUSSIAN, "ru_RU", LANG_RUSSIAN , SUBLANG_DEFAULT , "Russian")
LNG(wxLANGUAGE_RUSSIAN_UKRAINE, "ru_UA", 0 , 0 , "Russian (Ukraine)")
LNG(wxLANGUAGE_SAMOAN, "sm" , 0 , 0 , "Samoan")
LNG(wxLANGUAGE_SANGHO, "sg" , 0 , 0 , "Sangho")
LNG(wxLANGUAGE_SANSKRIT, "sa" , LANG_SANSKRIT , SUBLANG_DEFAULT , "Sanskrit")
LNG(wxLANGUAGE_SCOTS_GAELIC, "gd" , 0 , 0 , "Scots Gaelic")
LNG(wxLANGUAGE_SERBIAN, "sr_YU", LANG_SERBIAN , SUBLANG_DEFAULT , "Serbian")
LNG(wxLANGUAGE_SERBIAN_CYRILLIC, "sr_YU", LANG_SERBIAN , SUBLANG_SERBIAN_CYRILLIC , "Serbian (Cyrillic)")
LNG(wxLANGUAGE_SERBIAN_LATIN, "sr_YU", LANG_SERBIAN , SUBLANG_SERBIAN_LATIN , "Serbian (Latin)")
LNG(wxLANGUAGE_SERBO_CROATIAN, "sh" , 0 , 0 , "Serbo-Croatian")
LNG(wxLANGUAGE_SESOTHO, "st" , 0 , 0 , "Sesotho")
LNG(wxLANGUAGE_SETSWANA, "tn" , 0 , 0 , "Setswana")
LNG(wxLANGUAGE_SHONA, "sn" , 0 , 0 , "Shona")
LNG(wxLANGUAGE_SINDHI, "sd" , LANG_SINDHI , SUBLANG_DEFAULT , "Sindhi")
LNG(wxLANGUAGE_SINHALESE, "si" , 0 , 0 , "Sinhalese")
LNG(wxLANGUAGE_SISWATI, "ss" , 0 , 0 , "Siswati")
LNG(wxLANGUAGE_SLOVAK, "sk_SK", LANG_SLOVAK , SUBLANG_DEFAULT , "Slovak")
LNG(wxLANGUAGE_SLOVENIAN, "sl_SI", LANG_SLOVENIAN , SUBLANG_DEFAULT , "Slovenian")
LNG(wxLANGUAGE_SOMALI, "so" , 0 , 0 , "Somali")
LNG(wxLANGUAGE_SPANISH, "es_ES", LANG_SPANISH , SUBLANG_SPANISH , "Spanish")
LNG(wxLANGUAGE_SPANISH_ARGENTINA, "es_AR", LANG_SPANISH , SUBLANG_SPANISH_ARGENTINA , "Spanish (Argentina)")
LNG(wxLANGUAGE_SPANISH_BOLIVIA, "es_BO", LANG_SPANISH , SUBLANG_SPANISH_BOLIVIA , "Spanish (Bolivia)")
LNG(wxLANGUAGE_SPANISH_CHILE, "es_CL", LANG_SPANISH , SUBLANG_SPANISH_CHILE , "Spanish (Chile)")
LNG(wxLANGUAGE_SPANISH_COLOMBIA, "es_CO", LANG_SPANISH , SUBLANG_SPANISH_COLOMBIA , "Spanish (Colombia)")
LNG(wxLANGUAGE_SPANISH_COSTA_RICA, "es_CR", LANG_SPANISH , SUBLANG_SPANISH_COSTA_RICA , "Spanish (Costa Rica)")
LNG(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC, "es_DO", LANG_SPANISH , SUBLANG_SPANISH_DOMINICAN_REPUBLIC, "Spanish (Dominican republic)")
LNG(wxLANGUAGE_SPANISH_ECUADOR, "es_EC", LANG_SPANISH , SUBLANG_SPANISH_ECUADOR , "Spanish (Ecuador)")
LNG(wxLANGUAGE_SPANISH_EL_SALVADOR, "es_SV", LANG_SPANISH , SUBLANG_SPANISH_EL_SALVADOR , "Spanish (El Salvador)")
LNG(wxLANGUAGE_SPANISH_GUATEMALA, "es_GT", LANG_SPANISH , SUBLANG_SPANISH_GUATEMALA , "Spanish (Guatemala)")
LNG(wxLANGUAGE_SPANISH_HONDURAS, "es_HN", LANG_SPANISH , SUBLANG_SPANISH_HONDURAS , "Spanish (Honduras)")
LNG(wxLANGUAGE_SPANISH_MEXICAN, "es_MX", LANG_SPANISH , SUBLANG_SPANISH_MEXICAN , "Spanish (Mexican)")
LNG(wxLANGUAGE_SPANISH_MODERN, "es_ES", LANG_SPANISH , SUBLANG_SPANISH_MODERN , "Spanish (Modern)")
LNG(wxLANGUAGE_SPANISH_NICARAGUA, "es_NI", LANG_SPANISH , SUBLANG_SPANISH_NICARAGUA , "Spanish (Nicaragua)")
LNG(wxLANGUAGE_SPANISH_PANAMA, "es_PA", LANG_SPANISH , SUBLANG_SPANISH_PANAMA , "Spanish (Panama)")
LNG(wxLANGUAGE_SPANISH_PARAGUAY, "es_PY", LANG_SPANISH , SUBLANG_SPANISH_PARAGUAY , "Spanish (Paraguay)")
LNG(wxLANGUAGE_SPANISH_PERU, "es_PE", LANG_SPANISH , SUBLANG_SPANISH_PERU , "Spanish (Peru)")
LNG(wxLANGUAGE_SPANISH_PUERTO_RICO, "es_PR", LANG_SPANISH , SUBLANG_SPANISH_PUERTO_RICO , "Spanish (Puerto Rico)")
LNG(wxLANGUAGE_SPANISH_URUGUAY, "es_UY", LANG_SPANISH , SUBLANG_SPANISH_URUGUAY , "Spanish (Uruguay)")
LNG(wxLANGUAGE_SPANISH_US, "es_US", 0 , 0 , "Spanish (U.S.)")
LNG(wxLANGUAGE_SPANISH_VENEZUELA, "es_VE", LANG_SPANISH , SUBLANG_SPANISH_VENEZUELA , "Spanish (Venezuela)")
LNG(wxLANGUAGE_SUNDANESE, "su" , 0 , 0 , "Sundanese")
LNG(wxLANGUAGE_SWAHILI, "sw_KE", LANG_SWAHILI , SUBLANG_DEFAULT , "Swahili")
LNG(wxLANGUAGE_SWEDISH, "sv_SE", LANG_SWEDISH , SUBLANG_SWEDISH , "Swedish")
LNG(wxLANGUAGE_SWEDISH_FINLAND, "sv_FI", LANG_SWEDISH , SUBLANG_SWEDISH_FINLAND , "Swedish (Finland)")
LNG(wxLANGUAGE_TAGALOG, "tl" , 0 , 0 , "Tagalog")
LNG(wxLANGUAGE_TAJIK, "tg" , 0 , 0 , "Tajik")
LNG(wxLANGUAGE_TAMIL, "ta" , LANG_TAMIL , SUBLANG_DEFAULT , "Tamil")
LNG(wxLANGUAGE_TATAR, "tt" , LANG_TATAR , SUBLANG_DEFAULT , "Tatar")
LNG(wxLANGUAGE_TELUGU, "te" , LANG_TELUGU , SUBLANG_DEFAULT , "Telugu")
LNG(wxLANGUAGE_THAI, "th_TH", LANG_THAI , SUBLANG_DEFAULT , "Thai")
LNG(wxLANGUAGE_TIBETAN, "bo" , 0 , 0 , "Tibetan")
LNG(wxLANGUAGE_TIGRINYA, "ti" , 0 , 0 , "Tigrinya")
LNG(wxLANGUAGE_TONGA, "to" , 0 , 0 , "Tonga")
LNG(wxLANGUAGE_TSONGA, "ts" , 0 , 0 , "Tsonga")
LNG(wxLANGUAGE_TURKISH, "tr_TR", LANG_TURKISH , SUBLANG_DEFAULT , "Turkish")
LNG(wxLANGUAGE_TURKMEN, "tk" , 0 , 0 , "Turkmen")
LNG(wxLANGUAGE_TWI, "tw" , 0 , 0 , "Twi")
LNG(wxLANGUAGE_UIGHUR, "ug" , 0 , 0 , "Uighur")
LNG(wxLANGUAGE_UKRAINIAN, "uk_UA", LANG_UKRAINIAN , SUBLANG_DEFAULT , "Ukrainian")
LNG(wxLANGUAGE_URDU, "ur" , LANG_URDU , SUBLANG_DEFAULT , "Urdu")
LNG(wxLANGUAGE_URDU_INDIA, "ur_IN", LANG_URDU , SUBLANG_URDU_INDIA , "Urdu (India)")
LNG(wxLANGUAGE_URDU_PAKISTAN, "ur_PK", LANG_URDU , SUBLANG_URDU_PAKISTAN , "Urdu (Pakistan)")
LNG(wxLANGUAGE_UZBEK, "uz" , LANG_UZBEK , SUBLANG_DEFAULT , "Uzbek")
LNG(wxLANGUAGE_UZBEK_CYRILLIC, "uz" , LANG_UZBEK , SUBLANG_UZBEK_CYRILLIC , "Uzbek (Cyrillic)")
LNG(wxLANGUAGE_UZBEK_LATIN, "uz" , LANG_UZBEK , SUBLANG_UZBEK_LATIN , "Uzbek (Latin)")
LNG(wxLANGUAGE_VIETNAMESE, "vi_VN", LANG_VIETNAMESE, SUBLANG_DEFAULT , "Vietnamese")
LNG(wxLANGUAGE_VOLAPUK, "vo" , 0 , 0 , "Volapuk")
LNG(wxLANGUAGE_WELSH, "cy" , 0 , 0 , "Welsh")
LNG(wxLANGUAGE_WOLOF, "wo" , 0 , 0 , "Wolof")
LNG(wxLANGUAGE_XHOSA, "xh" , 0 , 0 , "Xhosa")
LNG(wxLANGUAGE_YIDDISH, "yi" , 0 , 0 , "Yiddish")
LNG(wxLANGUAGE_YORUBA, "yo" , 0 , 0 , "Yoruba")
LNG(wxLANGUAGE_ZHUANG, "za" , 0 , 0 , "Zhuang")
LNG(wxLANGUAGE_ZULU, "zu" , 0 , 0 , "Zulu")
};
#undef LNG
#endif // wxUSE_INTL