kaadon / translate
Kaadon translate for PHP
v0.0.3
2023-09-05 07:36 UTC
Requires
- php: >=7.4
- google/cloud-translate: ^1.12
- topthink/framework: >=6.1
This package is auto-updated.
Last update: 2024-11-05 10:08:34 UTC
README
phpmailer-
普通用法
$TranslateV2 = new TranslateV2(""); var_dump($TranslateV2->translateText("你好",'en')); var_dump($TranslateV2->translateJson('{"a":"你好","b":{"b1":"你在哪","b2":"你回家了吗"}}','en'));
-
THINK用法