一元网络论坛

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 35|回复: 0

Translate WordPress website translation plugin into English, and keep the length of the returned text below 80 characters. Just return one translation result without any other unnecessary characters.

[复制链接]

2万

主题

2万

帖子

6万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
60969
发表于 2024-9-17 22:02:00 | 显示全部楼层 |阅读模式
Before myself, I had used Google Translate to implement it in the past. Now I am looking at a thread about https://hostloc.com/thread-1345059-1-1.html and found that they mentioned https://translate.zvo.cn/index.html. I checked it out and it seems to be pretty good. I don't want to use plugins, so I can directly modify the code of my website by following the official code. Just add: https://translate.zvo.cn/4019.html. To make it easier for me to write as a plugin:
I can set the display position of the translation button (top, bottom, menu, tool bar). If you set the tool, you need to go to the back-end tools to add the translation button. The top and bottom are displayed directly as language switching buttons. The menu and tool bar have one Language button, which needs to be clicked to appear the language switch dialog. Customize language (icon does not need to be set). I'm using client.edge way, and the official introduction says that client.edge is provided directly by Microsoft for translation support. Default will show the corresponding language according to user's client IP automatically with settings, with an accuracy rate of 96%. Default changed to local call of translate.js file, without using the staticfile resource library from the official.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|一元网络论坛

GMT+8, 2024-9-29 17:30 , Processed in 0.799605 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表