So, Rails has some preexisting inflection rules set for English ( see source ).
But is there any repository with inflections for other languages ?
I am currently looking for :nl and :fr inflections, but other languages may be usefull as well.
There are a few
https://github.com/davidcelis/inflections
https://github.com/archan937/rich_pluralization
I haven't used them myself so can't vouch for them
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.