摘要: 我的YII2版本是2.0.7, 设置多语言时和其他教程有不同的地方, 所以整理如下 1. 在一个controller里面写一个调用i18n的语句, 比如actionIndex echo \Yii::t('app', 'whatisthis'); 现在进入这个页面, 页面输出whatisthis 2. 阅读全文
posted @ 2016-02-24 17:50 derrck 阅读(5994) 评论(0) 推荐(0) 编辑