开发者

Is kohana 3.1 i18n system efficient for long messages?

Should I use __() function for email messages, notifica开发者_开发知识库tions etc? Aren't 1024 characters long texts just too long for php's array hash keys? If they are, is there a better way to handle long messages translations, ensuring Validation class will work with it also?

Using label instead of a message would also be a choice but Kohana doesn't translate strings from native language...


Use special View templates for a big messages. For example, views/i18n/fr/confirmation.php, views/i18n/default/confirmation.php etc.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜