Skip to content
Permalink
Browse files

Update and sort supported languages

This change adds support for languages that already had translations:

	'basque',
	'georgian',
	'luxembourgish',
	'persian',
	'serbian_latin',
	'zazaki',

g_language_auto_map is now sorted by language name, although I don't know if that makes sense.
However, that appears to have been the way of the code ;).
  • Loading branch information...
siebrand committed Feb 21, 2018
1 parent 1ed490a commit f5db9ef4e225bca95fc408088fb362bfcc253e63
Showing with 17 additions and 5 deletions.
  1. +17 −5 config_defaults_inc.php
@@ -820,6 +820,7 @@
'arabic',
'arabicegyptianspoken',
'asturian',
'basque',
'belarusian_tarask',
'breton',
'bulgarian',
@@ -835,6 +836,7 @@
'finnish',
'french',
'galician',
'georgian',
'german',
'greek',
'hebrew',
@@ -846,28 +848,32 @@
'korean',
'latvian',
'lithuanian',
'luxembourgish',
'macedonian',
'norwegian_bokmal',
'norwegian_nynorsk',
'occitan',
'persian',
'polish',
'portuguese_brazil',
'portuguese_standard',
'ripoarisch',
'romanian',
'russian',
'serbian',
'serbian_latin',
'slovak',
'slovene',
'spanish',
'swissgerman',
'swedish',
'swissgerman',
'tagalog',
'turkish',
'ukrainian',
'urdu',
'vietnamese',
'volapuk',
'zazaki',
);
/**
@@ -880,12 +886,14 @@
'ar' => 'arabic',
'arz' => 'arabicegyptianspoken',
'ast' => 'asturian',
'eu' => 'basque',
'be-tarask' => 'belarusian_tarask',
'bg' => 'bulgarian',
'br' => 'breton',
'ca' => 'catalan',
'zh-cn, zh-sg, zh' => 'chinese_simplified',
'zh-hk, zh-tw' => 'chinese_traditional',
'hr' => 'croatian',
'cs' => 'czech',
'da' => 'danish',
'nl-be, nl' => 'dutch',
@@ -894,38 +902,42 @@
'fi' => 'finnish',
'fr-ca, fr-be, fr-ch, fr' => 'french',
'gl' => 'galician',
'gsw' => 'swissgerman',
'de-de, de-at, de-ch, de' => 'german',
'he' => 'hebrew',
'hu' => 'hungarian',
'hr' => 'croatian',
'is' => 'icelandic',
'ia' => 'interlingua',
'it-ch, it' => 'italian',
'ja' => 'japanese',
'ka' => 'georgian',
'ko' => 'korean',
'ksh' => 'ripoarisch',
'lt' => 'lithuanian',
'lv' => 'latvian',
'lt' => 'lithuanian',
'lb' => 'luxembourgish',
'mk' => 'macedonian',
'no' => 'norwegian_bokmal',
'nn' => 'norwegian_nynorsk',
'oc' => 'occitan',
'fa' => 'persian',
'pl' => 'polish',
'pt-br' => 'portuguese_brazil',
'pt' => 'portuguese_standard',
'ksh' => 'ripoarisch',
'ro-mo, ro' => 'romanian',
'ru-mo, ru-ru, ru-ua, ru' => 'russian',
'sr' => 'serbian',
'sr-latn' => 'serbian_latin',
'sk' => 'slovak',
'sl' => 'slovene',
'es-mx, es-co, es-ar, es-cl, es-pr, es' => 'spanish',
'sv-fi, sv' => 'swedish',
'gsw' => 'swissgerman',
'tl' => 'tagalog',
'tr' => 'turkish',
'uk' => 'ukrainian',
'vi' => 'vietnamese',
'vo' => 'volapuk',
'diq' => 'zazaki',
);
/**

2 comments on commit f5db9ef

@atrol

This comment has been minimized.

Copy link
Member

atrol replied Feb 21, 2018

@siebrand I provided a similar PR for that, see #1303

The main difference is, that I found zza for zazaki
https://www.loc.gov/standards/iso639-2/php/langcodes_name.php?code_ID=510

@siebrand

This comment has been minimized.

Copy link
Member Author

siebrand replied Feb 21, 2018

I found zza for zazaki

I've used what is being used in MediaWIki. I'd suggest to not deviate from it.

Policy is to not support languages in the Mantis core before the translation level is at a certain percentage. Some core plugins now have translations for unsupported languages, but that's not a problem I think.

Please sign in to comment.
You can’t perform that action at this time.