Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TranslatorTest.php

function TranslatorTest::failingLangcodes

This array should be at least empty within the near future.

This both depends on a complete list trying to add above as understanding the plural rules of the current failing languages.

Return value

array with nplural together with langcodes

File

vendor/symfony/translation-contracts/Test/TranslatorTest.php, line 338

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\Test

Code

public static function failingLangcodes() : array {
    return [
        [
            '1',
            [
                'fa',
            ],
        ],
        [
            '2',
            [
                'jbo',
            ],
        ],
        [
            '3',
            [
                'cbs',
            ],
        ],
        [
            '4',
            [
                'gd',
                'kw',
            ],
        ],
        [
            '5',
            [
                'ga',
            ],
        ],
    ];
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal