MongoDB:Mongoid 和 I18n 翻译
I am going to start a new project based on the top of MongoDB.
My application will need to handle fields translations.
I discovered a plugin named : Mongoid_i18n
Is it the only one plugin interesting ? Or other plugins are available ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Mongoid >= 2.4 本身就包含此功能。请参阅:http://two.mongoid.org/docs/documents/localized.html
Mongoid >= 2.4 includes this facility natively. See: http://two.mongoid.org/docs/documents/localized.html
我想那就是那个。您也可以自己完成,这可能会更容易一些,具体取决于您的字段名称的本地化程度。
-罗杰
I think that'd be the one. You could do it yourself as well which might be a little easier depending on how localizable your field names are.
-Roger