Replies: 1 comment 1 reply
-
Laravel uses https://github.com/doctrine/inflector, or rather complements it(for example to throw exceptions). More details |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I tried searching for pluralize function and even though i can find function.... i am not able to the place where team has added exceptions like
child
are we using any third party dependency for that?
Also, i want to use same plural method in javascript, when user inputs singular word, i want to show plural word.
i have found some packages like https://github.com/plurals/pluralize but some words are not matching exactly like laravel and i want to maintain same for both languages.
so do you suggest using an ajax request to find laravel one and return it OR use a js based package?
thanks
Beta Was this translation helpful? Give feedback.
All reactions