简体   繁体   English

是否有任何带有 Rails 变形文件的存储库?

[英]Is there any repository with Rails inflection files?

So, Rails has some preexisting inflection rules set for English ( see source ).因此,Rails 为英语设置了一些预先存在的屈折规则( 请参阅源代码)。

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.我目前正在寻找 :nl 和 :fr 屈折,但其他语言也可能有用。

There are a few有几个

https://github.com/davidcelis/inflections https://github.com/davidcelis/inflections

https://github.com/archan937/rich_pluralization https://github.com/archan937/rich_pluralization

I haven't used them myself so can't vouch for them我自己没用过,所以不能保证

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM