protected property GlobalLinkTranslator::$globallinkDefaultLangcodeMapping in GlobalLink Connect for Drupal 8
Same name and namespace in other branches
- 8.2 src/Plugin/tmgmt/Translator/GlobalLinkTranslator.php \Drupal\globallink\Plugin\tmgmt\Translator\GlobalLinkTranslator::globallinkDefaultLangcodeMapping
List of default Drupal 8 and OHT language mapping.
Type: array
File
- src/
Plugin/ tmgmt/ Translator/ GlobalLinkTranslator.php, line 112
Class
- GlobalLinkTranslator
- GlobalLink translation plugin controller.
Namespace
Drupal\globallink\Plugin\tmgmt\TranslatorCode
protected $globallinkDefaultLangcodeMapping = [
'aa' => 'Afar',
'aa-DJ' => 'Afar, Djibouti',
'aa-ER' => 'Afar, Eritrea',
'aa-ET' => 'Afar, Ethiopia',
'ab-GE' => 'Abkhazian, Georgia',
'ae-ES' => 'Spain, Aranese',
'af' => 'Afrikaans',
'af-NA' => 'Afrikaans, Namibia',
'af-ZA' => 'Afrikaans, South Africa',
'am' => 'Amharic',
'am-ET' => 'Amharic, Ethiopia',
'an' => 'Aragonese',
'an-ES' => 'Aragonese, Spain',
'ar' => 'Arabic',
'ar-AE' => 'Arabic, United Arab Emirates',
'ar-BH' => 'Arabic, Bahrain',
'ar-DZ' => 'Arabic, Algeria',
'ar-EG' => 'Arabic, Egypt',
'ar-IQ' => 'Arabic, Iraq',
'ar-JO' => 'Arabic, Jordan',
'ar-KW' => 'Arabic, Kuwait',
'ar-LB' => 'Arabic, Lebanon',
'ar-LY' => 'Arabic, Libya',
'ar-MA' => 'Arabic, Morocco',
'ar-OM' => 'Arabic, Oman',
'ar-QA' => 'Arabic, Qatar',
'ar-SA' => 'Arabic, Saudi Arabia',
'ar-SD' => 'Arabic, Sudan',
'ar-SY' => 'Arabic, Syria',
'ar-TN' => 'Arabic, Tunisia',
'ar-YE' => 'Arabic, Yemen',
'as' => 'Assamese',
'as-IN' => 'Assamese, India',
'ay' => 'Aymara',
'ay-BO' => 'Aymara, Bolivia',
'ay-PE' => 'Aymara, Peru',
'az' => 'Azerbaijani',
'az-AZ' => 'Azerbaijani, Azerbaijan',
'az-XC' => 'Azerbaijani-Cyrillic',
'az-XE' => 'Azerbaijani-Latin',
'ba' => 'Bashkir',
'ba-RU' => 'Bashkir, Russia',
'bd-ID' => 'Bahasa, Indonesia',
'bd-MY' => 'Bahasa, Malaysia',
'be' => 'Belarusian',
'be-BY' => 'Byelorussian, Byelorussia',
'bg' => 'Bulgarian',
'bg-BG' => 'Bulgarian, Bulgaria',
'bh' => 'Bihari',
'bi' => 'Bislama',
'bn' => 'Bengali',
'bn-BD' => 'Bengali, Bangladesh',
'bn-IN' => 'Bengali, India',
'bo-CN' => 'Tibetan, China',
'br' => 'Breton',
'bs' => 'Bosnian',
'bs-BA' => 'Bosnian, Bosnien und Herzegowina',
'ca' => 'Catalan',
'ca-ES' => 'Catalan, Spain',
'cb' => 'Cebuano',
'cb-PH' => 'Cebuano, Philippines',
'ce' => 'Chechen',
'ch' => 'Chamorro',
'co' => 'Corsican',
'cs' => 'Czech',
'cs-CZ' => 'Czech, Czech Republic',
'cy' => 'Welsh',
'cy-GB' => 'Welsh, United Kingdom',
'da' => 'Danish',
'da-DK' => 'Danish, Denmark',
'de' => 'German',
'de-AT' => 'German, Austria',
'de-CH' => 'German, Switzerland',
'de-DE' => 'German, Germany',
'de-LI' => 'German, Liechtenstein',
'de-LU' => 'German, Luxembourg',
'dz' => 'Dzongkha',
'el' => 'Greek',
'el-CY' => 'Greek, Cyprus',
'el-GR' => 'Greek, Greece',
'en' => 'English',
'en-AU' => 'English, Australia',
'en-BZ' => 'English, Belize',
'en-CA' => 'English, Canada',
'en-CB' => 'English, Caribbean',
'en-GB' => 'English, United Kingdom',
'en-ID' => 'English, Indonesia',
'en-IE' => 'English, Ireland',
'en-IN' => 'English, India',
'en-JM' => 'English, Jamaica',
'en-MT' => 'English, Malta',
'en-NZ' => 'English, New Zealand',
'en-PH' => 'English, Philippines',
'en-RH' => 'English, Zimbabwe',
'en-SG' => 'English, Singapore',
'en-TT' => 'English, Trinidad and Tobago',
'en-US' => 'English, United States',
'en-ZA' => 'English, South Africa',
'es' => 'Spanish',
'es-AR' => 'Spanish, Argentina',
'es-BO' => 'Spanish, Bolivia',
'es-CL' => 'Spanish, Chile',
'es-CO' => 'Spanish, Colombia',
'es-CR' => 'Spanish, Costa Rica',
'es-DO' => 'Spanish, Dominican Republic',
'es-EC' => 'Spanish, Ecuador',
'es-ES' => 'Spanish, Spain',
'es-GT' => 'Spanish, Guatemala',
'es-HN' => 'Spanish, Honduras',
'es-LA' => 'Spanish, Latin America',
'es-MX' => 'Spanish, Mexico',
'es-NI' => 'Spanish, Nicaragua',
'es-PA' => 'Spanish, Panama',
'es-PE' => 'Spanish, Peru',
'es-PR' => 'Spanish, Puerto Rico',
'es-PY' => 'Spanish, Paraguay',
'es-SV' => 'Spanish, El Salvador',
'es-US' => 'Spanish, United States',
'es-UY' => 'Spanish, Uruguay',
'es-VE' => 'Spanish, Venezuela',
'et' => 'Estonian',
'et-EE' => 'Estonian, Estonia',
'eu' => 'Basque',
'eu-ES' => 'Basque, Spain',
'fa' => 'Persian',
'fa-AF' => 'Persian-Dari, Afghanistan',
'fa-IR' => 'Farsi, Iran',
'fi' => 'Finnish',
'fi-FI' => 'Finnish, Finland',
'fj' => 'Fijian',
'fj-FJ' => 'Fijian, Fiji',
'fj-PH' => 'Fijian, Philippines',
'fo' => 'Faroese',
'fo-FO' => 'Faroese, Faroe Islands',
'fr' => 'French',
'fr-BE' => 'French, Belgium',
'fr-CA' => 'French, Canada',
'fr-CH' => 'French, Switzerland',
'fr-FR' => 'French, France',
'fr-LU' => 'French, Luxembourg',
'fr-MC' => 'French, Monaco',
'fr-NC' => 'French, New Caledonia',
'fr-PF' => 'French, French Polynesia',
'fy' => 'Frisian',
'fy-NL' => 'Frisian, Netherlands',
'ga' => 'Irish',
'ga-IE' => 'Irish, Ireland',
'gd' => 'Scottish Gaelic',
'gd-GB' => 'Scottish Gaelic, United Kingdom',
'gl' => 'Galician',
'gl-ES' => 'Galician, Spain',
'gn' => 'Guaraní',
'gs-ES' => 'Gascon, Spain',
'gu' => 'Gujarati',
'gu-IN' => 'Gujarati, India',
'ha' => 'Hausa',
'he' => 'Hebrew',
'he-IL' => 'Hebrew, Israel',
'hi' => 'Hindi',
'hi-IN' => 'Hindi, India',
'hm' => 'Hmong',
'hr' => 'Croatian',
'hr-HR' => 'Croatian, Croatia',
'ht' => 'Haitian',
'hu' => 'Hungarian',
'hu-HU' => 'Hungarian, Hungary',
'hy' => 'Armenian',
'hy-AM' => 'Armenian, Armenia',
'ia' => 'Interlingua',
'id' => 'Indonesian',
'id-ID' => 'Indonesian, Indonesia',
'ie' => 'Interlingue',
'ik' => 'Inupiaq',
'il' => 'Ilonggo',
'is' => 'Icelandic',
'is-IS' => 'Icelandic, Iceland',
'it' => 'Italian',
'it-CH' => 'Italian, Switzerland',
'it-IT' => 'Italian, Italy',
'iu' => 'Inuktitut',
'ja' => 'Japanese',
'ja-JP' => 'Japanese, Japan',
'jv' => 'Javanese',
'ka-GE' => 'Georgian, Georgia',
'kk-KZ' => 'Kazakh, Kazakhstan',
'kl' => 'Kalaallisut',
'km-KH' => 'Khmer, Cambodia',
'kn-IN' => 'Kannada, India',
'ko' => 'Korean',
'ko-KR' => 'Korean, South Korea',
'ko-KP' => 'Korean, North Korea',
'ks' => 'Kashmiri',
'ku' => 'Kurdish',
'ku-TR' => 'Kurdish, Turkey',
'ky-KG' => 'Kirghiz, Kyrgyzstan',
'la' => 'Latin',
'lb-LU' => 'Luxembourgish, Luxembourg',
'ln' => 'Lingala',
'ln-CD' => 'Lingala, The Democratic Republic Of Congo',
'lo-LA' => 'Lao, Laos',
'lt' => 'Lithuanian',
'lt-LT' => 'Lithuanian, Lithuania',
'lv' => 'Latvian',
'lv-LV' => 'Latvian, Latvia',
'mg' => 'Malagasy',
'mg-MG' => 'Malagasy, Madagascar',
'mi' => 'Maori',
'mk' => 'Macedonian',
'mk-MK' => 'Macedonian, Macedonia',
'ml' => 'Malayalam',
'ml-IN' => 'Malayalam, India',
'mn' => 'Mongolian',
'mn-MN' => 'Mongolian, Mongolia',
'mo' => 'Moldavian',
'mo-MD' => 'Moldovan, Moldova',
'mr' => 'Marathi',
'mr-IN' => 'Marathi, India',
'ms' => 'Malay',
'ms-SG' => 'Malay, Singapore',
'ms-BX' => 'Malay, Brunei Darussalam',
'ms-MY' => 'Malay, Malaysia',
'mt' => 'Maltese',
'mt-MT' => 'Maltese, Malta',
'my-MM' => 'Burmese, MyanMar (Burma)',
'na' => 'Nauru',
'nb-NO' => 'Norwegian Bokmal, Norway',
'nd-ZA' => 'North Ndebele, South Africa',
'ne' => 'Nepali',
'ne-NP' => 'Nepali, Nepal',
'nl' => 'Dutch',
'nl-BE' => 'Dutch, Belgium',
'nl-NL' => 'Dutch, Netherlands',
'no' => 'Norwegian',
'no-NO' => 'Norwegian (Nynorsk), Norway',
'nr-ZA' => 'South Ndebele, South Africa',
'ns-ZA' => 'Nothern Sotho, South Africa',
'ny-MW' => 'Nyanja, Malawi',
'oc' => 'Occitan',
'oc-FR' => 'Occitan, France',
'om' => 'Oromo',
'om-ET' => 'Oromo, Ethiopia',
'or' => 'Oriya',
'or-IN' => 'Oriya, India',
'pa' => 'Punjabi',
'pa-IN' => 'Punjabi (Gurmukha), India',
'pa-PK' => 'Punjabi (Shahmukhi), Pakistan',
'pl' => 'Polish',
'pl-PL' => 'Polish, Poland',
'ps-AF' => 'Pashto, Afghanistan',
'pt' => 'Portuguese',
'pt-BR' => 'Portuguese, Brazil',
'pt-PT' => 'Portuguese, Portugal',
'qu' => 'Quechua',
'qu-BO' => 'Quechua, Bolivia',
'qu-EU' => 'Quechua, Ecuador',
'rm' => 'Romansh',
'rn' => 'Kirundi',
'ro' => 'Romanian',
'ro-RO' => 'Romanian, Romania',
'ru' => 'Russian',
'ru-KZ' => 'Russian, Kazakhstan',
'ru-KG' => 'Russian, Kyrgyzstan',
'ru-UA' => 'Russian, Ukraine',
'ru-BY' => 'Russian, Belarus',
'ru-RU' => 'Russian, Russia',
'rw' => 'Kinyarwanda',
'rw-RW' => 'Kinyarwanda, Rwanda',
'sa' => 'Sanskrit',
'sd' => 'Sindhi',
'sg' => 'Sango',
'sh-YU' => 'Serbo-Croatian, Yugoslavia',
'si-LK' => 'Sinhalese, Sri Lanka',
'sk' => 'Slovak',
'sk-SK' => 'Slovak, Slovakia',
'sl' => 'Slovenian',
'sl-SL' => 'Slovenian, Slovenia',
'sm' => 'Samoan',
'sn' => 'Shona',
'so-SO' => 'Somali, Somalia',
'sq' => 'Albanian',
'sq-AL' => 'Albanian, Albania',
'sr' => 'Serbian',
'sr-BA' => 'Serbian, Bosnia and Herzegovina',
'sr-CS' => 'Serbian, Serbia and Montenegro',
'sr-ME' => 'Serbian, Montenegro',
'sr-YU' => 'Serbian (Cyrillic), Yugoslavia',
'ss' => 'Swati',
'ss-ZA' => 'Swati, South Africa',
'st' => 'Southern Sotho',
'st-ZA' => 'Southern Sotho, South Africa',
'su-SU' => 'Sudanese, Sudan',
'sv' => 'Swedish',
'sv-FI' => 'Swedish, Finland',
'sv-SE' => 'Swedish, Sweden',
'sw' => 'Swahili',
'sw-KE' => 'Swahili, Kenya',
'sz' => 'Sami',
'tg-TJ' => 'Tajik, Tajikistan',
'th-TH' => 'Thai, Thailand',
'ta' => 'Tamil',
'ta-IN' => 'Tamil, India',
'te' => 'Telugu',
'ti' => 'Tigrinya',
'tk' => 'Turkmen',
'tl' => 'Tagalog',
'tl-PH' => 'Tagalog, Philippines',
'tn' => 'Tswana',
'tn-ZA' => 'Tswana, South Africa',
'to' => 'Tonga',
'tr' => 'Turkish',
'tr-TR' => 'Turkish, Turkey',
'ts' => 'Tsonga',
'ts-ZA' => 'Tsonga, South Africa',
'tt' => 'Tatar',
'tw' => 'Twi',
'ug' => 'Uighur',
'uk' => 'Ukrainian',
'uk-UA' => 'Ukrainian, Ukraine',
'ur' => 'Urdu',
'ur-PK' => 'Urdu (Pakistan), Pakistan',
've-ZA' => 'Venda, South Africa',
'vi' => 'Vietnamese',
'vi-US' => 'Vietnamese, United States',
'vi-VN' => 'Vietnamese, Vietnam',
'vo' => 'Volapük',
'uz-UZ' => 'Uzbek, Uzbekistan',
'xh' => 'Xhosa',
'xh-ZA' => 'Xhosa, South Africa',
'yi' => 'Yiddish',
'yo' => 'Yoruba',
'za' => 'Zhuang',
'zh' => 'Chinese',
'zh-CN' => 'Chinese (Simplified), China',
'zh-HK' => 'Chinese, Hong Kong',
'zh-SG' => 'Chinese (Simplified), Singapore',
'zh-TW' => 'Chinese (Traditional), Taiwan',
'zh-XM' => 'Chinese, Macau',
'zu' => 'Zulu',
'zu-ZA' => 'Zulu, South Africa',
];