<?php
defined('ABSPATH') or die();
$language_names = array(
    "Disabled",
    "Afrikaans (Google Translate)",
    "Albanian (Google Translate)",
    "Arabic (Google Translate)",
    "Amharic (Google Translate)",
    "Armenian (Google Translate)",
    "Belarusian (Google Translate)",
    "Bulgarian (Google Translate)",
    "Catalan (Google Translate)",
    "Chinese Simplified (Google Translate)",
    "Croatian (Google Translate)",
    "Czech (Google Translate)",
    "Danish (Google Translate)",
    "Dutch (Google Translate)",
    "English (Google Translate)",
    "Estonian (Google Translate)",
    "Filipino (Google Translate)",
    "Finnish (Google Translate)",
    "French (Google Translate)",
    "Galician (Google Translate)",
    "German (Google Translate)",
    "Greek (Google Translate)",
    "Hebrew (Google Translate)",
    "Hindi (Google Translate)",
    "Hungarian (Google Translate)",
    "Icelandic (Google Translate)",
    "Indonesian (Google Translate)",
    "Irish (Google Translate)",
    "Italian (Google Translate)",
    "Japanese (Google Translate)",
    "Korean (Google Translate)",
    "Latvian (Google Translate)",
    "Lithuanian (Google Translate)",
    "Norwegian (Google Translate)",
    "Macedonian (Google Translate)",
    "Malay (Google Translate)",
    "Maltese (Google Translate)",
    "Persian (Google Translate)",
    "Polish (Google Translate)",
    "Portuguese (Google Translate)",
    "Romanian (Google Translate)",
    "Russian (Google Translate)",
    "Serbian (Google Translate)",
    "Slovak (Google Translate)",
    "Slovenian (Google Translate)",
    "Spanish (Google Translate)",
    "Swahili (Google Translate)",
    "Swedish (Google Translate)",
    "Thai (Google Translate)",
    "Turkish (Google Translate)",
    "Ukrainian (Google Translate)",
    "Vietnamese (Google Translate)",
    "Welsh (Google Translate)",
    "Yiddish (Google Translate)",
    "Tamil (Google Translate)",
    "Azerbaijani (Google Translate)",
    "Kannada (Google Translate)",
    "Basque (Google Translate)",
    "Bengali (Google Translate)",
    "Latin (Google Translate)",
    "Chinese Traditional (Google Translate)",
    "Esperanto (Google Translate)",
    "Georgian (Google Translate)",
    "Telugu (Google Translate)",
    "Gujarati (Google Translate)",
    "Haitian Creole (Google Translate)",
    "Urdu (Google Translate)",
    "Burmese (Google Translate)",
    "Bosnian (Google Translate)",
    "Cebuano (Google Translate)",
    "Chichewa (Google Translate)",
    "Corsican (Google Translate)",
    "Frisian (Google Translate)",
    "Scottish Gaelic (Google Translate)",
    "Hausa (Google Translate)",
    "Hawaian (Google Translate)",
    "Hmong (Google Translate)",
    "Igbo (Google Translate)",
    "Javanese (Google Translate)",
    "Kazakh (Google Translate)",
    "Khmer (Google Translate)",
    "Kurdish (Google Translate)",
    "Kyrgyz (Google Translate)",
    "Lao (Google Translate)",
    "Luxembourgish (Google Translate)",
    "Malagasy (Google Translate)",
    "Malayalam (Google Translate)",
    "Maori (Google Translate)",
    "Marathi (Google Translate)",
    "Mongolian (Google Translate)",
    "Nepali (Google Translate)",
    "Pashto (Google Translate)",
    "Punjabi (Google Translate)",
    "Samoan (Google Translate)",
    "Sesotho (Google Translate)",
    "Shona (Google Translate)",
    "Sindhi (Google Translate)",
    "Sinhala (Google Translate)",
    "Somali (Google Translate)",
    "Sundanese (Google Translate)",
    "Swahili (Google Translate)",
    "Tajik (Google Translate)",
    "Uzbek (Google Translate)",
    "Xhosa (Google Translate)",
    "Yoruba (Google Translate)",
    "Zulu (Google Translate)",
    
    "Assammese (Google Translate)",
    "Aymara (Google Translate)",
    "Bambara (Google Translate)",
    "Bhojpuri (Google Translate)",
    "Dhivehi (Google Translate)",
    "Dogri (Google Translate)",
    "Ewe (Google Translate)",
    "Guarani (Google Translate)",
    "Ilocano (Google Translate)",
    "Kinyarwanda (Google Translate)",
    "Konkani (Google Translate)",
    "Krio (Google Translate)",
    "Kurdish - Sorani (Google Translate)",
    "Lingala (Google Translate)",
    "Luganda (Google Translate)",
    "Maithili (Google Translate)",
    "Meiteilon (Google Translate)",
    "Mizo (Google Translate)",
    "Odia (Google Translate)",
    "Oromo (Google Translate)",
    "Quechua (Google Translate)",
    "Sanskrit (Google Translate)",
    "Sepedi (Google Translate)",
    "Tatar (Google Translate)",
    "Tigrinya (Google Translate)",
    "Tsonga (Google Translate)",
    "Turkmen (Google Translate)",
    "Twi (Google Translate)",
    "Uyghur (Google Translate)"
);
$language_codes = array(
    "disabled",
    "af",
    "sq",
    "ar",
    "am",
    "hy",
    "be",
    "bg",
    "ca",
    "zh-CN",
    "hr",
    "cs",
    "da",
    "nl",
    "en",
    "et",
    "tl",
    "fi",
    "fr",
    "gl",
    "de",
    "el",
    "iw",
    "hi",
    "hu",
    "is",
    "id",
    "ga",
    "it",
    "ja",
    "ko",
    "lv",
    "lt",
    "no",
    "mk",
    "ms",
    "mt",
    "fa",
    "pl",
    "pt",
    "ro",
    "ru",
    "sr",
    "sk",
    "sl",
    "es",
    "sw",
    "sv",   
    "th",
    "tr",
    "uk",
    "vi",
    "cy",
    "yi",
    "ta",
    "az",
    "kn",
    "eu",
    "bn",
    "la",
    "zh-TW",
    "eo",
    "ka",
    "te",
    "gu",
    "ht",
    "ur",
    "my",
    "bs",
    "ceb",
    "ny",
    "co",
    "fy",
    "gd",
    "ha",
    "haw",
    "hmn",
    "ig",
    "jw",
    "kk",
    "km",
    "ku",
    "ky",
    "lo",
    "lb",
    "mg",
    "ml",
    "mi",
    "mr",
    "mn",
    "ne",
    "ps",
    "pa",
    "sm",
    "st",
    "sn",
    "sd",
    "si",
    "so",
    "su",
    "sw",
    "tg",
    "uz",
    "xh",
    "yo",
    "zu",

    "as",
    "ay",
    "bm",
    "bho",
    "dv",
    "doi",
    "ee",
    "gn",
    "ilo",
    "rw",
    "gom",
    "kri",
    "ckb",
    "ln",
    "lg",
    "mai",
    "mni-Mtei",
    "lus",
    "or",
    "om",
    "qu",
    "sa",
    "nso",
    "tt",
    "ti",
    "ts",
    "tk",
    "ak",
    "ug"
);
$language_names_deepl = array(
  "English (DeepL)",
  "German (DeepL)",
  "French (DeepL)",
  "Spanish (DeepL)",
  "Italian (DeepL)",
  "Dutch (DeepL)",
  "Polish (DeepL)",
  "Russian (DeepL)",
  "Portuguese (DeepL)",
  "Chinese (DeepL)",
  "Japanese (DeepL)",
  "Bulgarian (DeepL)",
  "Czech (DeepL)",
  "Danish (DeepL)",
  "Greek (DeepL)",
  "Estonian (DeepL)",
  "Finnish (DeepL)",
  "Hungarian (DeepL)",
  "Lithuanian (DeepL)",
  "Latvian (DeepL)",
  "Romanian (DeepL)",
  "Slovak (DeepL)",
  "Slovenian (DeepL)",
  "Swedish (DeepL)",
  "Indonesian (DeepL)",
  "Turkish (DeepL)",
  "Korean (DeepL)",
  "Norwegian (DeepL)",
  "Ukrainian (DeepL)",
  "Arabic (DeepL)"
  );
  $language_codes_deepl = array(
      "EN-",
      "DE-",
      "FR-",
      "ES-",
      "IT-",
      "NL-",
      "PL-",
      "RU-",
      "PT-",
      "ZH-",
      "JA-",
      "BG-",
      "CS-",
      "DA-",
      "EL-",
      "ET-",
      "FI-",
      "HU-",
      "LT-",
      "LV-",
      "RO-",
      "SK-",
      "SL-",
      "SV-",
      "ID-",
      "TR-",
      "KO-",
      "NB-",
      "UK-",
      "AR-"
  );
  $language_names_bing = array(
     "English (Microsoft Translator)",
     "Arabic (Microsoft Translator)",
     "Bosnian (Latin) (Microsoft Translator)",
     "Bulgarian (Microsoft Translator)",
     "Catalan (Microsoft Translator)",
     "Chinese Simplified (Microsoft Translator)",
     "Chinese Traditional (Microsoft Translator)",
     "Croatian (Microsoft Translator)",
     "Czech (Microsoft Translator)",
     "Danish (Microsoft Translator)",
     "Dutch (Microsoft Translator)",
     "Estonian (Microsoft Translator)",
     "Finnish (Microsoft Translator)",
     "French (Microsoft Translator)",
     "German (Microsoft Translator)",
     "Greek (Microsoft Translator)",
     "Haitian Creole (Microsoft Translator)",
     "Hebrew (Microsoft Translator)",
     "Hindi (Microsoft Translator)",
     "Hmong Daw (Microsoft Translator)",
     "Hungarian (Microsoft Translator)",
     "Indonesian (Microsoft Translator)",
     "Italian (Microsoft Translator)",
     "Japanese (Microsoft Translator)",
     "Kiswahili (Microsoft Translator)",
     "Klingon (Microsoft Translator)",
     "Klingon (pIqaD) (Microsoft Translator)",
     "Korean (Microsoft Translator)",
     "Latvian (Microsoft Translator)",
     "Lithuanian (Microsoft Translator)",
     "Malay (Microsoft Translator)",
     "Maltese (Microsoft Translator)",
     "Norwegian (Microsoft Translator)",
     "Persian (Microsoft Translator)",
     "Polish (Microsoft Translator)",
     "Portuguese (Microsoft Translator)",
     "Queretaro Otomi (Microsoft Translator)",
     "Romanian (Microsoft Translator)",
     "Russian (Microsoft Translator)",
     "Serbian (Cyrillic) (Microsoft Translator)",
     "Serbian (Latin) (Microsoft Translator)",
     "Slovak (Microsoft Translator)",
     "Slovenian (Microsoft Translator)",
     "Spanish (Microsoft Translator)",
     "Swedish (Microsoft Translator)",
     "Thai (Microsoft Translator)",
     "Turkish (Microsoft Translator)",
     "Ukrainian (Microsoft Translator)",
     "Urdu (Microsoft Translator)",
     "Vietnamese (Microsoft Translator)",
     "Welsh (Microsoft Translator)",
     "Yucatec Maya (Microsoft Translator)",
   
     "Afrikaans (Microsoft Translator)",
     "Albanian (Microsoft Translator)",
     "Amharic (Microsoft Translator)",
     "Armenian (Microsoft Translator)",
     "Assamese (Microsoft Translator)",
     "Azerbaijani (Microsoft Translator)",
     "Bangla (Microsoft Translator)", 
     "Bashkir (Microsoft Translator)",
     "Basque (Microsoft Translator)",
     "Cantonese (Microsoft Translator)",
     "Chinese (Literary) (Microsoft Translator)",
     "Dari (Microsoft Translator)",
     "Divehi (Microsoft Translator)",
     "Faroese (Microsoft Translator)",
     "Fijian (Microsoft Translator)",
     "Filipino (Microsoft Translator)",
     "French (Canada) (Microsoft Translator)",
     "Galician (Microsoft Translator)",
     "Georgian (Microsoft Translator)",
     "Gujarati (Microsoft Translator)",
     "Icelandic (Microsoft Translator)",
     "Inuinnaqtun (Microsoft Translator)",
     "Inuktitut (Microsoft Translator)",
     "Inuktitut (Latin) (Microsoft Translator)",
     "Irish (Microsoft Translator)",
     "Kannada (Microsoft Translator)",
     "Kazakh (Microsoft Translator)",
     "Khmer (Microsoft Translator)",
     "Kurdish (Central) (Microsoft Translator)",
     "Kurdish (Northern) (Microsoft Translator)",
     "Kyrgyz (Cyrillic) (Microsoft Translator)",
     "Lao (Microsoft Translator)",
     "Macedonian (Microsoft Translator)",
     "Malagasy (Microsoft Translator)",
     "Malayalam (Microsoft Translator)",
     "Maori (Microsoft Translator)",
     "Marathi (Microsoft Translator)",
     "Mongolian (Cyrillic) (Microsoft Translator)",
     "Mongolian (Traditional) (Microsoft Translator)",
     "Myanmar (Microsoft Translator)",
     "Nepali (Microsoft Translator)",
     "Odia (Microsoft Translator)",
     "Pashto (Microsoft Translator)",
     "Portuguese (Portugal) (Microsoft Translator)",
     "Punjabi (Microsoft Translator)",
     "Samoan (Microsoft Translator)",
     "Somali (Arabic) (Microsoft Translator)",
     "Swahili (Latin) (Microsoft Translator)",
     "Tahitian (Microsoft Translator)",
     "Tamil (Microsoft Translator)",
     "Tatar (Latin) (Microsoft Translator)",
     "Telugu (Microsoft Translator)",
     "Tibetan (Microsoft Translator)",
     "Tigrinya (Microsoft Translator)",
     "Tongan (Microsoft Translator)",
     "Turkmen (Latin) (Microsoft Translator)",
     "Upper Sorbian (Microsoft Translator)",
     "Uyghur (Arabic) (Microsoft Translator)",
     "Uzbek (Microsoft Translator)",
     "Zulu (Microsoft Translator)"
     );
 
     $language_codes_bing = array(
         "en!",
         "ar!",
         "bs-Latn!",
         "bg!",
         "ca!",
         "zh-CHS!",
         "zh-CHT!",
         "hr!",
         "cs!",
         "da!",
         "nl!",
         "et!",
         "fi!",
         "fr!",
         "de!",
         "el!",
         "ht!",
         "he!",
         "hi!",
         "mww!",
         "hu!",
         "id!",
         "it!",
         "ja!",
         "sw!",
         "tlh!",
         "tlh-Qaak!",
         "ko!",
         "lv!",
         "lt!",
         "ms!",
         "mt!",
         "nor!",
         "fa!",
         "pl!",
         "pt!",
         "otq!",
         "ro!",
         "ru!",
         "sr-Cyrl!",
         "sr-Latn!",
         "sk!",
         "sl!",
         "es!",
         "sv!",
         "th!",
         "tr!",
         "uk!",
         "ur!",
         "vi!",
         "cy!",
         "yua!",
         
         "af!",
         "sq!",
         "am!",
         "hy!",
         "as!",
         "az!",
         "bn!",
         "ba!",
         "eu!",
         "yue!",
         "lzh!",
         "prs!",
         "dv!",
         "fo!",
         "fj!",
         "fil!",
         "fr-ca!",
         "gl!",
         "ka!",
         "gu!",
         "is!",
         "ikt!",
         "iu!",
         "iu-Latn!",
         "ga!",
         "kn!",
         "kk!",
         "km!",
         "ku!",
         "kmr!",
         "ky!",
         "lo!",
         "mk!",
         "mg!",
         "ml!",
         "mi!",
         "mr!",
         "mn-Cyrl!",
         "mn-Mong!",
         "my!",
         "ne!",
         "or!",
         "ps!",
         "pt-pt!",
         "pa!",
         "sm!",
         "so!",
         "sw!",
         "ty!",
         "ta!",
         "tt!",
         "te!",
         "bo!",
         "ti!",
         "to!",
         "tk!",
         "hsb!",
         "ug!",
         "uz!",
         "zu!"
     );
?>