You are here

public function PluralizationRulesTest::failingLangcodes in Plug 7

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

lib/Symfony/translation/Tests/PluralizationRulesTest.php, line 80

Class

PluralizationRulesTest
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\Component\Translation\Tests

Code

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