mikica/zf2-translate-plugin
Composer 安装命令:
composer require mikica/zf2-translate-plugin
包简介
Simple translation controller plugin.
关键字:
README 文档
README
Installation Zend 3
composer require mikica/zf2-translate-plugin
Installation Zend 2
composer require mikica/zf2-translate-plugin "^1.0"
You need to register new module. Add in file config/application.config.php:
'modules' => array(
'...',
'ZfTranslate'
),
The module is ready to use.
Usage in controller
<?php $this->translate('translate word'); $this->translate('translate word', 'locale');
统计信息
- 总下载量: 2.27k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-11-19