当前位置:网站首页>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
边栏推荐
- FBS (fman build system) packaging
- leetcode--977. Squares of a Sorted Array
- DDT+Excel进行接口测试
- Use of WiFi module based on wechat applet
- Three point positioning based on ibeacons (wechat applet)
- 什么是云迁移?云迁移的四种模式分别是?
- org.apache.parquet.schema.InvalidSchemaException: A group type can not be empty. Parquet does not su
- jsp学习3
- Recyclerview advanced use (II) - simple implementation of vertical drag and drop sorting
- 浅谈基于openssl的多级证书,Multi-level CA的签发和管理,以及双向认证
猜你喜欢
随机推荐
Algorithem_ReverseLinkedList
帆软实现分页时第一行和最后两行冻结方式
烟雾传感器(mq-2)使用详细教程(基于树莓派3b+实现)
Three point positioning based on ibeacons (wechat applet)
RobotFramework 之 项目框架
jacob打印word
快速安装mongodb
容灾有疑问?点这里
Gartner预测云迁移规模大幅增长;云迁移的优势是什么?
JSP学习2
星界边境文本自动翻译机(高级版)使用说明
Some good articles on pthread multithreading
微信小程序与低功耗蓝牙通信-往硬件端发送数据(三)
HyperBDR云容灾V3.2.1版本发布|支持更多云平台,新增监控告警功能
查询2013年到2021年的数据,只查询到2020的数据,遇到了这个问题所进行的解决办法
Wechat applet input hidden and inoperable settings
数据库DbVisualizer Pro报文件错误,导致数据连接失败
倒计时1天~2022云容灾产品线上发布会即将开始
封装logging模块
On September 8, the night before going to Songshan Lake









