finlaydag33k/cakephp-translate
Composer 安装命令:
composer require finlaydag33k/cakephp-translate
包简介
CakePHP plugin to quickly and easily translate pot files using the Google API
README 文档
README
CakePHP plugin providing a shell command to translate things using LibreTranslate.
DISCLAIMER: This plugin is still under heavy development and should not be considered as ready for production. Use at your own risk
Installing
Install the library as follows:
composer require finlaydag33k/cakephp-translate
Then enable it in your app by adding the following to your src/Application:
public function bootstrap() {
// ... Do other stuff here
// Enable plugin
$this->addPlugin('FinlayDaG33k/Translate');
}
Usage
Translations can be done from the command line using the following command:
cake translate [plugin]
An example to translate from English to German:
cake translate de_DE en de
Version Compatibility
Below a table of version compatibility.
Please note that when a new version is released, support for older versions by the maintainer drop immediately.
| Plugin Version | CakePHP Version |
|----------------|-----------------|
| 1.x | >=3.6.0 |
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2021-02-21