getgrav / grav

Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS powered by PHP, Markdown, Twig, and Symfony
https://getgrav.org
MIT License
14.58k stars 1.41k forks source link

Advanced pluralization #903

Open dimayakovlev opened 8 years ago

dimayakovlev commented 8 years ago

Grav need support different plural forms based on languages rules. Example: https://github.com/translate/l10n-guide/blob/master/docs/l10n/pluralforms.rst

rhukster commented 8 years ago

PRs welcome :)

dimayakovlev commented 6 years ago

There is Symfony Translator component with pluralization function. http://symfony.com/doc/2.8/components/translation/usage.html