开发者

What format of files in internationalization files

I'm working on internationalization of applications. I wonder whether it is better to keep in YAML files unformatted text versions of the static example, all begin with a lowercase letter, and small caps are created each time the view (method capitalize). The advantage of the method is that when cre开发者_运维问答ating subsequent files translator does not need to pay attention to the size of the characters and the downside may be the time overhead associated with multiple calling the helper in the view.


Different languages have different capitalization rules so it might not be a good idea. For example I should capitalize 'i' when talking about myself in english.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜