定制 mnicole90/wordpress-openai-translation 二次开发

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

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

mnicole90/wordpress-openai-translation

最新稳定版本:v1.1.0

Composer 安装命令:

composer require mnicole90/wordpress-openai-translation

包简介

A Wordpress plugin that uses OpenAI to translate posts and pages

README 文档

README

This plugin uses the OpenAI API to translate your posts and pages into other languages.

This plugin requires PHP 8.1 or greater to run.

Current version: 1.1.0

Installation

  1. Download the plugin into your wp-content/plugins directory.
  2. Activate the plugin in your Wordpress admin panel.

Configuration

You have the choice to configure the plugin:

  1. Add the environment variable OPENAI_SECRET with your OpenAI API secret key.
  2. Configure the plugin in the "OpenAI Translation" of the "Settings" section of your Wordpress admin panel.

Using SymfonyLocaleValidator component

If you want to use the Symfony Locale Validator, in your terminal run composer install in the plugin directory and set the environment variable OPENAI_TRANSLATION_VALIDATORto symfony or configure it in the plugin settings page.

Usage

  1. Go on the page or post you want to translate.
  2. Click on the "Translate" button in the top right corner.
  3. Click on the language you want to translate to.
  4. Wait for the translation to be generated.
  5. Click on the "Save" button to save the translation.

Authors

License

Copyright 2023 Maxime Nicole

Licensed under the MIT License: http://opensource.org/licenses/MIT

统计信息

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

GitHub 信息

  • Stars: 8
  • Watchers: 0
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-05-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固