定制 wpmet/automated-translation 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

wpmet/automated-translation

最新稳定版本:1.0.1

Composer 安装命令:

composer require wpmet/automated-translation

包简介

It uses Google Translator API to translate WP pot files via "om/potrans" in batch.

README 文档

README

It uses Google Translator API to translate WP pot files via "om/potrans" in batch.

Script installation

  • Create a directory and put Google Translate's credentials.json there. Then open CLI from that directory.

  • User composer to install the package as follows:

composer require wpmet/automated-translation

Running the translations

  • Use this command to run the script from CLI, specify multiple language codes at the end of the command.

vendor/bin/fire translate ko ar

  • Fill up the guided form and it will generate all po,mo file in the plugin's language directory.

统计信息

  • 总下载量: 13
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-10-18