function TranslatorTest::successLangcodes
This array should contain all currently known langcodes.
As it is impossible to have this ever complete we should try as hard as possible to have it almost complete.
File
-
vendor/
symfony/ translation-contracts/ Test/ TranslatorTest.php, line 319
Class
- TranslatorTest
- Test should cover all languages mentioned on http://translate.sourceforge.net/wiki/l10n/pluralforms and Plural forms mentioned on http://www.gnu.org/software/gettext/manual/gettext.html#Plural-forms.
Namespace
Symfony\Contracts\Translation\TestCode
public static function successLangcodes() : array {
return [
[
'1',
[
'ay',
'bo',
'cgg',
'dz',
'id',
'ja',
'jbo',
'ka',
'kk',
'km',
'ko',
'ky',
],
],
[
'2',
[
'nl',
'fr',
'en',
'de',
'de_GE',
'hy',
'hy_AM',
'en_US_POSIX',
],
],
[
'3',
[
'be',
'bs',
'cs',
'hr',
],
],
[
'4',
[
'cy',
'mt',
'sl',
],
],
[
'6',
[
'ar',
],
],
];
}