Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 628 Bytes

README.rst

File metadata and controls

38 lines (22 loc) · 628 Bytes

French Pluralize

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.

Licence

BSD license (see LICENCE file)

Features

  1. Python code example:
import pluralizefr
pluralizefr.pluralize("fromage") # return fromages
pluralizefr.singularize("fromages") # return fromage
  1. Jinja2 exemple:
{{ 'fromage' | pluralize }}

Installation

https://pypi.org/project/pluralizefr/