开发者

jnunemaker-validatable - internationalization option?

I am using the jnunemaker-validatable gem by way of mongomapper, and it seems that the error messages are not coming through mapped to the standard keys used in Activerecord's i18n file. I'm not 100% sure that jnunemaker-validatable is the issue here, just seems a likely candidate. Has anyone used this gem in a mult开发者_StackOverflow中文版i-lingual way with success?

Thanks, Tom


Found the answer here: http://groups.google.com/group/mongomapper/browse_thread/thread/ab1a99f472d51847

Short answer appears to be that it's not a feature at this time, but there are various workarounds to get you part of the way there, and a Gem that looks promising: https://github.com/jmonteiro/mongomapper_i18n

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜