Scripts - Minor - Update international language codes in gettext script - refs #2323

pull/2744/head
Yannick Warnier 6 years ago
parent e004777d3a
commit e6e9d0a6bc
  1. 36
      tests/scripts/lang/generate_gettext_files.php

@ -61,7 +61,7 @@ $langToIso639v1 = [
'croatian' => 'hr_HR',
'czech' => 'cs_CZ',
'danish' => 'da',
'dari' => 'prs_AF',
'dari' => 'fa_AF',
'dutch' => 'nl',
'english' => 'en_US',
'esperanto' => 'eo',
@ -74,7 +74,7 @@ $langToIso639v1 = [
'german' => 'de',
'greek' => 'el',
'hebrew' => 'he_IL',
'hindi' => 'hi_IN',
'hindi' => 'hi',
'hungarian' => 'hu_HU',
'indonesian' => 'id_ID',
'italian' => 'it',
@ -86,7 +86,7 @@ $langToIso639v1 = [
'malay' => 'ms_MY',
'norwegian' => 'nn_NO',
'occitan' => 'oc',
'pashto' => 'ps_AF',
'pashto' => 'ps',
'persian' => 'fa_IR',
'polish' => 'pl_PL',
'portuguese' => 'pt_PT',
@ -124,20 +124,20 @@ $langToPOFilename = [
'croatian' => 'hr',
'czech' => 'cs',
'danish' => 'da',
'dari' => 'prs_AF',
'dari' => 'fa_AF',
'dutch' => 'nl',
'english' => 'en',
'esperanto' => 'eo',
'faroese' => 'fo_FO',
'faroese' => 'fo',
'finnish' => 'fi',
'french' => 'fr',
'friulian' => 'fur_IT',
'galician' => 'gl_ES',
'georgian' => 'ka_GE',
'georgian' => 'ka',
'german' => 'de',
'greek' => 'el',
'hebrew' => 'he',
'hindi' => 'hi_IN',
'hindi' => 'hi',
'hungarian' => 'hu',
'indonesian' => 'id',
'italian' => 'it',
@ -146,34 +146,34 @@ $langToPOFilename = [
'latvian' => 'lv',
'lithuanian' => 'lt',
'macedonian' => 'mk',
'malay' => 'ms_MY',
'malay' => 'ms',
'norwegian' => 'nn',
'occitan' => 'oc_FR',
'pashto' => 'ps_AF',
'persian' => 'fa_IR',
'pashto' => 'ps',
'persian' => 'fa',
'polish' => 'pl',
'portuguese' => 'pt',
'quechua_cusco' => 'quz_PE',
'quechua_cusco' => 'qu',
'romanian' => 'ro',
'russian' => 'ru',
'serbian' => 'sr_RS',
'serbian' => 'sr',
'simpl_chinese' => 'zh_CN',
'slovak' => 'sk',
'slovenian' => 'sl',
'somali' => 'so',
'spanish' => 'es',
'spanish_latin' => 'es_MX',
'swahili' => 'sw_KE',
'swahili' => 'sw',
'swedish' => 'sv',
'tagalog' => 'tl_PH',
'tagalog' => 'tl',
'thai' => 'th',
'tibetan' => 'bo_CN',
'tibetan' => 'bo',
'trad_chinese' => 'zh_TW',
'turkish' => 'tr',
'ukrainian' => 'uk_UA',
'ukrainian' => 'uk',
'vietnamese' => 'vi',
'xhosa' => 'xh_ZA',
'yoruba' => 'yo_NG',
'xhosa' => 'xh',
'yoruba' => 'yo',
];
/**

Loading…
Cancel
Save