当前位置:网站首页>Operation instructions of star boundary text automatic translator
Operation instructions of star boundary text automatic translator
2022-04-23 14:10:00 【Senzhiqianshou】
Preface
Trying to translate Franklin mod The text of , Used Baidu translation . It is found that the accuracy of machine turning is very high . The operation of repeatedly filtering text and then copying and translating is very boring for a programmer , So I came up with the idea of writing this tool . I am good at front-end and Android development , And the text translation is just the front-end web page . At present, I have written a pure html The translator for . Consider using... Later vue To rewrite , It can be done to UI And functions have better support .
Tool features
1、 Using Baidu translation api Carry out machine turnover , The quality is guaranteed
2、 Support single json file , The content format is like :
[
{
"Texts":{
"Eng":"xxxxxx"
}
},
{
"Texts":{
"Eng":"xxxxxx"
}
}
]
Automatic translation of .
3、 After translation , You can choose the specified directory to download the translated files .( Of course, you can specify the source directory to overwrite )
The reason why it is not made to automatically overwrite the source file , It's because it's not IE The browser cannot operate the system's local files , This is a hard injury. .
Usage method
1、 Register Baidu translation account , apply appid and key
2、 from github Download source code
3、 Fill in the source code of the website appid and key
It can be used VSCode、WebStorm、sublim、notepad Set Notepad to open the source project \html\translator.html
4、 start-up
double-click translator.html It's ready to run .
webstorm It can be started by embedded server , I know everything I know :
Interface after startup
The interface is simple , Click on the left Select File The file selector will pop up , It's filtered json file
Open this file , The text to be translated will be displayed
At this time , We can click on the other side Start translating
The page will display the translation results . The right side will prompt to save the translated file (edge browser )
It should be noted that , The accuracy of turning over is not 100%, After translating a document , It needs to be verified manually .
thus , The tutorial is over .
in addition , A large on the star border MOD- Franklin universe Sinicization project It's open source , Welcome students who like this game to join Sinochem
Exception description
There may be an exception as shown in the figure 52003, Please confirm your configuration appid and key Whether it works
版权声明
本文为[Senzhiqianshou]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231405036900.html
边栏推荐
- 帆软报表设置单元格填报以及根据值的大小进行排名方法
- VMWare安装64位XP中文教程
- 封装logging模块
- 服务器日志分析工具(识别,提取,合并,统计异常信息)
- 帆软之单元格部分字体变颜色
- 帆软实现一个单选按钮,可以统一设置其他单选按钮的选择状态
- 查询2013年到2021年的数据,只查询到2020的数据,遇到了这个问题所进行的解决办法
- Detailed tutorial on the use of setinterval timing function of wechat applet
- Research on recyclerview details - Discussion and repair of recyclerview click dislocation
- Jira截取全图
猜你喜欢
Subscription number development of wechat applet (message push)
基于ibeacons三点定位(微信小程序)
利用json-server在本地创建服务器请求
Gartner预测云迁移规模大幅增长;云迁移的优势是什么?
帆软中需要设置合计值为0时,一整行都不显示的解决办法
POI operation word template replaces data and exports word
01-NIO基础之ByteBuffer和FileChannel
Detailed tutorial on the use of smoke sensor (mq-2) (based on raspberry pie 3B +)
On the multi-level certificate based on OpenSSL, the issuance and management of multi-level Ca, and two-way authentication
微信小程序调用客服接口
随机推荐
JSP学习2
Nifi 快速安装及文件同步操作
帆软分割求解:一段字符串,只取其中某个字符(所需要的字段)
使用Postman进行Mock测试
金融行业云迁移实践 平安金融云整合HyperMotion云迁移解决方案,为金融行业客户提供迁移服务
RobotFramework 之 用例标签机制
关于pthread多线程一些好文章
Chrome插件 之 Selenium IDE、XPath 安装
帆软中单元格中隔行变色以及数量大于100字体变大变红设置
关于NodeJS中JSON5的相关配置和使用
连接公司跳板机取别名
政务云迁移实践 北明数科使用HyperMotion云迁移产品为某政府单位实施上云迁移项目,15天内完成近百套主机迁移
微信小程序与低功耗蓝牙通信-接受硬件端发送来的数据(四)
How QT designer adds resource files
Switch usage (wechat applet)
RobotFramework 之 项目框架
服务器日志分析工具(识别,提取,合并,统计异常信息)
帆软实现分页时第一行和最后两行冻结方式
第四届“传智杯”全国大学生IT技能大赛(决赛B组) 题解
9月8日,临去松山湖的前夜