Langcodes and plural forms
Submitted by clemens on Sat, 2012/05/26 - 4:25pm
We all know Drupal and Symfony do have multilingual support (i18n, l10n, pluralization). But do they match? Or do they equally well? How does one test this? This is what I did.
I wanted to add tests for Symfonfy's PluralizationRules as there were none and I wanted to have support for PluralForms loading Drupals *.po files clean and simple. How hard can it be?!?
These tests should cover:
- Langcodes. Are all known language codes available (or easy to add)?
- Parsing Gettext PluralForm rules like