当前位置:网站首页>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
边栏推荐
- findstr不是内部或外部命令解决方法
- 帆软调用动态传参的方法,在标题中设置参数
- 01-NIO基础之ByteBuffer和FileChannel
- OpenStack如何跨版本升级
- 基于CM管理的CDH6.3.2集群集成Atlas2.1.0
- RecyclerView细节研究-RecyclerView点击错位问题的探讨与修复
- POI operation word template replaces data and exports word
- gzip和gunzip 解压参数详解
- 查询2013年到2021年的数据,只查询到2020的数据,遇到了这个问题所进行的解决办法
- 微信小程序通过低功耗蓝牙设备进行定位及测距(二)
猜你喜欢
帆软之单元格部分字体变颜色
Chrome插件 之 Selenium IDE、XPath 安装
Some good articles on pthread multithreading
Call wechat customer service applet
PyMySQL
教育行业云迁移最佳实践:海云捷迅使用HyperMotion云迁移产品为北京某大学实施渐进式迁移,成功率100%
政务云迁移实践 北明数科使用HyperMotion云迁移产品为某政府单位实施上云迁移项目,15天内完成近百套主机迁移
Intégration de Clusters CDH Phoenix basée sur la gestion cm
浅谈基于openssl的多级证书,Multi-level CA的签发和管理,以及双向认证
DeepinV20安装Mariadb
随机推荐
利用json-server在本地创建服务器请求
MYSQL 主从同步避坑版教程
HyperMotion云迁移完成阿里云专有云产品生态集成认证
星界边境文本自动翻译机使用说明
PyMySQL
RobotFramework 之 用例执行
On September 8, the night before going to Songshan Lake
leetcode--357. Count the number of different figures
DDT+Excel进行接口测试
On the multi-level certificate based on OpenSSL, the issuance and management of multi-level Ca, and two-way authentication
FBS(fman build system)打包
Oracle-数据泵使用
Windos中安装labellmg教程
回顾2021:如何帮助客户扫清上云最后一公里的障碍?
Algorithem_ReverseLinkedList
HyperMotion云迁移助力中国联通,青云完成某央企上云项目,加速该集团核心业务系统上云进程
org.apache.parquet.schema.InvalidSchemaException: A group type can not be empty. Parquet does not su
基于微信小程序的wifi模块使用
RecyclerView高级使用(一)-侧滑删除的简单实现
Win10 comes with groove music, which can't play cue and ape files. It's a curvilinear way to save the country. It creates its own aimpack plug-in package, and aimp installs DSP plug-in