Convert a singular word into plural according french grammar rules. Plural to singular is available too (but some special cases are probably missing).
Usable as Jinja2 filter.
BSD license (see LICENCE file)
- Python code example:
import pluralizefr
pluralizefr.pluralize("fromage") # return fromages
pluralizefr.singularize("fromages") # return fromage
- Jinja2 exemple:
{{ 'fromage' | pluralize }}