阅读背景:

Rails I18n,检查翻译是否存在?

来源:互联网 

Working on a rails 3 app where I want to check if a translation exists before outputting it, and if it doesn't exist fall back to some static text. I could do something like:Working on a rails 3 app where I want to check




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: