You are here

function _locale_get_iso639_list in Drupal 4

Same name and namespace in other branches
  1. 5 includes/locale.inc \_locale_get_iso639_list()

Some of the common languages with their English and native names

Based on ISO 639 and http://people.w3.org/rishida/names/languages.html

4 calls to _locale_get_iso639_list()
locale_add_language_form_submit in includes/locale.inc
Process the language addition form submission.
locale_add_language_form_validate in includes/locale.inc
Validate the language addition form.
_locale_admin_import_submit in includes/locale.inc
Process the locale import form submission.
_locale_prepare_iso_list in includes/locale.inc
Prepares the language code list for a select form item with only the unsupported ones

File

includes/locale.inc, line 1373
Admin-related functions for locale.module.

Code

function _locale_get_iso639_list() {
  return array(
    "aa" => array(
      "Afar",
    ),
    "ab" => array(
      "Abkhazian",
      "аҧсуа бызшәа",
    ),
    "ae" => array(
      "Avestan",
    ),
    "af" => array(
      "Afrikaans",
    ),
    "ak" => array(
      "Akan",
    ),
    "am" => array(
      "Amharic",
      "አማርኛ",
    ),
    "ar" => array(
      "Arabic",
      "العربية",
    ),
    "as" => array(
      "Assamese",
    ),
    "av" => array(
      "Avar",
    ),
    "ay" => array(
      "Aymara",
    ),
    "az" => array(
      "Azerbaijani",
      "azərbaycan",
    ),
    "ba" => array(
      "Bashkir",
    ),
    "be" => array(
      "Belarusian",
      "Беларуская",
    ),
    "bg" => array(
      "Bulgarian",
      "Български",
    ),
    "bh" => array(
      "Bihari",
    ),
    "bi" => array(
      "Bislama",
    ),
    "bm" => array(
      "Bambara",
      "Bamanankan",
    ),
    "bn" => array(
      "Bengali",
    ),
    "bo" => array(
      "Tibetan",
    ),
    "br" => array(
      "Breton",
    ),
    "bs" => array(
      "Bosnian",
      "Bosanski",
    ),
    "ca" => array(
      "Catalan",
      "Català",
    ),
    "ce" => array(
      "Chechen",
    ),
    "ch" => array(
      "Chamorro",
    ),
    "co" => array(
      "Corsican",
    ),
    "cr" => array(
      "Cree",
    ),
    "cs" => array(
      "Czech",
      "Čeština",
    ),
    "cu" => array(
      "Old Slavonic",
    ),
    "cv" => array(
      "Chuvash",
    ),
    "cy" => array(
      "Welsh",
      "Cymraeg",
    ),
    "da" => array(
      "Danish",
      "Dansk",
    ),
    "de" => array(
      "German",
      "Deutsch",
    ),
    "dv" => array(
      "Maldivian",
    ),
    "dz" => array(
      "Bhutani",
    ),
    "ee" => array(
      "Ewe",
      "Ɛʋɛ",
    ),
    "el" => array(
      "Greek",
      "Ελληνικά",
    ),
    "en" => array(
      "English",
    ),
    "eo" => array(
      "Esperanto",
    ),
    "es" => array(
      "Spanish",
      "Español",
    ),
    "et" => array(
      "Estonian",
      "Eesti",
    ),
    "eu" => array(
      "Basque",
      "Euskera",
    ),
    "fa" => array(
      "Persian",
      "فارسی",
    ),
    "ff" => array(
      "Fulah",
      "Fulfulde",
    ),
    "fi" => array(
      "Finnish",
      "Suomi",
    ),
    "fj" => array(
      "Fiji",
    ),
    "fo" => array(
      "Faeroese",
    ),
    "fr" => array(
      "French",
      "Français",
    ),
    "fy" => array(
      "Frisian",
      "Frysk",
    ),
    "ga" => array(
      "Irish",
      "Gaeilge",
    ),
    "gd" => array(
      "Scots Gaelic",
    ),
    "gl" => array(
      "Galician",
      "Galego",
    ),
    "gn" => array(
      "Guarani",
    ),
    "gu" => array(
      "Gujarati",
    ),
    "gv" => array(
      "Manx",
    ),
    "ha" => array(
      "Hausa",
    ),
    "he" => array(
      "Hebrew",
      "עברית",
    ),
    "hi" => array(
      "Hindi",
      "हिन्दी",
    ),
    "ho" => array(
      "Hiri Motu",
    ),
    "hr" => array(
      "Croatian",
      "Hrvatski",
    ),
    "hu" => array(
      "Hungarian",
      "Magyar",
    ),
    "hy" => array(
      "Armenian",
      "Հայերեն",
    ),
    "hz" => array(
      "Herero",
    ),
    "ia" => array(
      "Interlingua",
    ),
    "id" => array(
      "Indonesian",
      "Bahasa Indonesia",
    ),
    "ie" => array(
      "Interlingue",
    ),
    "ig" => array(
      "Igbo",
    ),
    "ik" => array(
      "Inupiak",
    ),
    "is" => array(
      "Icelandic",
      "Íslenska",
    ),
    "it" => array(
      "Italian",
      "Italiano",
    ),
    "iu" => array(
      "Inuktitut",
    ),
    "ja" => array(
      "Japanese",
      "日本語",
    ),
    "jv" => array(
      "Javanese",
    ),
    "ka" => array(
      "Georgian",
    ),
    "kg" => array(
      "Kongo",
    ),
    "ki" => array(
      "Kikuyu",
    ),
    "kj" => array(
      "Kwanyama",
    ),
    "kk" => array(
      "Kazakh",
      "Қазақ",
    ),
    "kl" => array(
      "Greenlandic",
    ),
    "km" => array(
      "Cambodian",
    ),
    "kn" => array(
      "Kannada",
      "ಕನ್ನಡ",
    ),
    "ko" => array(
      "Korean",
      "한국어",
    ),
    "kr" => array(
      "Kanuri",
    ),
    "ks" => array(
      "Kashmiri",
    ),
    "ku" => array(
      "Kurdish",
      "Kurdî",
    ),
    "kv" => array(
      "Komi",
    ),
    "kw" => array(
      "Cornish",
    ),
    "ky" => array(
      "Kirghiz",
      "Кыргыз",
    ),
    "la" => array(
      "Latin",
      "Latina",
    ),
    "lb" => array(
      "Luxembourgish",
    ),
    "lg" => array(
      "Luganda",
    ),
    "ln" => array(
      "Lingala",
    ),
    "lo" => array(
      "Laothian",
    ),
    "lt" => array(
      "Lithuanian",
      "Lietuviškai",
    ),
    "lv" => array(
      "Latvian",
      "Latviešu",
    ),
    "mg" => array(
      "Malagasy",
    ),
    "mh" => array(
      "Marshallese",
    ),
    "mi" => array(
      "Maori",
    ),
    "mk" => array(
      "Macedonian",
      "Македонски",
    ),
    "ml" => array(
      "Malayalam",
      "മലയാളം",
    ),
    "mn" => array(
      "Mongolian",
    ),
    "mo" => array(
      "Moldavian",
    ),
    "mr" => array(
      "Marathi",
    ),
    "ms" => array(
      "Malay",
      "Bahasa Melayu",
    ),
    "mt" => array(
      "Maltese",
      "Malti",
    ),
    "my" => array(
      "Burmese",
    ),
    "na" => array(
      "Nauru",
    ),
    "nd" => array(
      "North Ndebele",
    ),
    "ne" => array(
      "Nepali",
    ),
    "ng" => array(
      "Ndonga",
    ),
    "nl" => array(
      "Dutch",
      "Nederlands",
    ),
    "no" => array(
      "Norwegian",
      "Norsk",
    ),
    "nr" => array(
      "South Ndebele",
    ),
    "nv" => array(
      "Navajo",
    ),
    "ny" => array(
      "Chichewa",
    ),
    "oc" => array(
      "Occitan",
    ),
    "om" => array(
      "Oromo",
    ),
    "or" => array(
      "Oriya",
    ),
    "os" => array(
      "Ossetian",
    ),
    "pa" => array(
      "Punjabi",
    ),
    "pi" => array(
      "Pali",
    ),
    "pl" => array(
      "Polish",
      "Polski",
    ),
    "ps" => array(
      "Pashto",
      "پښتو",
    ),
    "pt" => array(
      "Portuguese",
      "Português",
    ),
    "qu" => array(
      "Quechua",
    ),
    "rm" => array(
      "Rhaeto-Romance",
    ),
    "rn" => array(
      "Kirundi",
    ),
    "ro" => array(
      "Romanian",
      "Română",
    ),
    "ru" => array(
      "Russian",
      "Русский",
    ),
    "rw" => array(
      "Kinyarwanda",
    ),
    "sa" => array(
      "Sanskrit",
    ),
    "sc" => array(
      "Sardinian",
    ),
    "sd" => array(
      "Sindhi",
    ),
    "se" => array(
      "Northern Sami",
    ),
    "sg" => array(
      "Sango",
    ),
    "sh" => array(
      "Serbo-Croatian",
    ),
    "si" => array(
      "Singhalese",
    ),
    "sk" => array(
      "Slovak",
      "Slovenčina",
    ),
    "sl" => array(
      "Slovenian",
      "Slovenščina",
    ),
    "sm" => array(
      "Samoan",
    ),
    "sn" => array(
      "Shona",
    ),
    "so" => array(
      "Somali",
    ),
    "sq" => array(
      "Albanian",
      "Shqip",
    ),
    "sr" => array(
      "Serbian",
      "Српски",
    ),
    "ss" => array(
      "Siswati",
    ),
    "st" => array(
      "Sesotho",
    ),
    "su" => array(
      "Sudanese",
    ),
    "sv" => array(
      "Swedish",
      "Svenska",
    ),
    "sw" => array(
      "Swahili",
      "Kiswahili",
    ),
    "ta" => array(
      "Tamil",
      "தமிழ்",
    ),
    "te" => array(
      "Telugu",
      "తెలుగు",
    ),
    "tg" => array(
      "Tajik",
    ),
    "th" => array(
      "Thai",
      "ภาษาไทย",
    ),
    "ti" => array(
      "Tigrinya",
    ),
    "tk" => array(
      "Turkmen",
    ),
    "tl" => array(
      "Tagalog",
    ),
    "tn" => array(
      "Setswana",
    ),
    "to" => array(
      "Tonga",
    ),
    "tr" => array(
      "Turkish",
      "Türkçe",
    ),
    "ts" => array(
      "Tsonga",
    ),
    "tt" => array(
      "Tatar",
      "Tatarça",
    ),
    "tw" => array(
      "Twi",
    ),
    "ty" => array(
      "Tahitian",
    ),
    "ug" => array(
      "Uighur",
    ),
    "uk" => array(
      "Ukrainian",
      "Українська",
    ),
    "ur" => array(
      "Urdu",
      "اردو",
    ),
    "uz" => array(
      "Uzbek",
      "o'zbek",
    ),
    "ve" => array(
      "Venda",
    ),
    "vi" => array(
      "Vietnamese",
      "Tiếng Việt",
    ),
    "wo" => array(
      "Wolof",
    ),
    "xh" => array(
      "Xhosa",
      "isiXhosa",
    ),
    "yi" => array(
      "Yiddish",
    ),
    "yo" => array(
      "Yoruba",
      "Yorùbá",
    ),
    "za" => array(
      "Zhuang",
    ),
    "zh-hans" => array(
      "Chinese, Simplified",
      "简体中文",
    ),
    "zh-hant" => array(
      "Chinese, Traditional",
      "繁體中文",
    ),
    "zu" => array(
      "Zulu",
      "isiZulu",
    ),
  );
}