是否在Rails 3中预定义了CLDR复数规则,还是必须手动定义它们?

如果你必须手动添加规则,你在哪里以及如何添加它们? 我正在尝试:locale =>“fr”,根据http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html,0..2内的所有内容都应该在“一个“形式,但我使用值”1.5“获得”其他“形式。 编辑: 我在谈论这些https://github.com/svenfuchs/i18n/blob/master/test/test_data/locales/plurals.rb     
已邀请:
# Note that <tt>I18n::Backend::Simple</tt> only supports an algorithm for English
# pluralization rules. Other algorithms can be supported by custom backends.
来源I18n.rb     

要回复问题请先登录注册