当前位置:网站首页>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
边栏推荐
- 云容灾是什么意思?云容灾和传统容灾的区别?
- Homebrew是什么?以及使用
- Gartner预测云迁移规模大幅增长;云迁移的优势是什么?
- poi操作word模板替换数据并且导出word
- 利用json-server在本地创建服务器请求
- PyMySQL
- PySide2
- log4j 输出日志信息到文件中
- Recyclerview advanced use (II) - simple implementation of vertical drag and drop sorting
- As a junior college student, I studied hard in closed doors for 56 days, won Ali offer with tears, five rounds of interviews and six hours of soul torture
猜你喜欢

On the multi-level certificate based on OpenSSL, the issuance and management of multi-level Ca, and two-way authentication

更改plsql工具栏的图标大小

快速安装mongodb
Check in system based on ibeacons

PyMySQL

HyperMotion云迁移助力中国联通,青云完成某央企上云项目,加速该集团核心业务系统上云进程

查询2013年到2021年的数据,只查询到2020的数据,遇到了这个问题所进行的解决办法

烟雾传感器(mq-2)使用详细教程(基于树莓派3b+实现)

Jmeter设置环境变量支持在任意终端目录输入jmeter直接启动

关于云容灾,你需要知道这些
随机推荐
PySide2
Visio installation error 1:1935 2: {XXXXXXXX
帆软实现一个单选按钮,可以统一设置其他单选按钮的选择状态
第四届“传智杯”全国大学生IT技能大赛(决赛B组) 题解
微信小程序获取登录用户信息、openid和access_token
Algorithem_ReverseLinkedList
pthread_ Why does self() repeat
Wechat applet communicates with esp8266 based on UDP protocol
微信小程序调用客服接口
使用itextpdf实现截取pdf文档第几页到第几页,进行分片
关于Jmeter启动闪退问题
Kettle -- control parsing
使用DialogFragment的一些感受及防踩坑经验(getActivity、getDialog为空,cancelable无效等)
使用开源调研工具Prophet是一种什么体验?
关于NodeJS中JSON5的相关配置和使用
CDH cluster integration Phoenix based on CM management
多重继承虚基类习题
报表FCRA考试题集及答案(错了11题)
Multiple inheritance virtual base exercises
Mock测试