bedita/i18n-deepl
最新稳定版本:v3.0.0
Composer 安装命令:
composer require bedita/i18n-deepl
包简介
BEdita I18n Deepl plugin supporting PHP >= 8.3
README 文档
README
Installation
You can install this plugin into your application using composer.
The recommended way to install composer packages is:
composer require bedita/i18n-deepl
Note: php version supported is >= 8.3.
DeepL Translator
This plugin uses DeepL Translator to translate texts, via deepl-php.
Usage example:
use BEdita\I18n\Deepl\Core\Translator; $translator = new Translator(); $translator->setup(['auth_key' => 'your-auth-key']); $result = $translator->translate(['Hello world!'], 'en', 'it'); // $result is an array, i.e ['translation' => ['Ciao mondo!']]
统计信息
- 总下载量: 1.27k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-11-06