Is there any inflector like library that can return a word based on a number?
- by stacker
I'm using inflector Pluralize and Singularize functions.
I want to know if there is a ready library that know to decide if a word needs to be Pluralize or Singularize based on a number.
Like:
0 articles
1 article
2 articles