开发者

Is kohana 3.1 i18n system efficient for long messages?

开发者 https://www.devze.com 2023-03-11 08:25 出处:网络
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 ha

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

精彩评论

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