diff --git a/README.md b/README.md index 86119f5..a1af47d 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,8 @@
A free and open-source translator for ren'py
-
+
------ @@ -40,9 +41,8 @@ https://github.com/anonymousException/renpy-translator/blob/feature/ai-translate | [Alibaba](https://translate.alibaba.com) | 214 | Free | [damo](https://damo.alibaba.com/about?tab=0&language=zh) | China | [translators](https://github.com/UlionTse/translators) | | [ModernMt](https://www.modernmt.com/translate) | 200 | Free | [Modernmt](https://github.com/modernmt) / [Translated](https://translatedlabs.com/welcome) | Italy | [translators](https://github.com/UlionTse/translators) | | [Bing](https://www.bing.com/Translator) | 133 | Free | [Modernmt](https://github.com/modernmt) / [Translated](https://translatedlabs.com/welcome) | Italy | [translators](https://github.com/UlionTse/translators) | -| [lingvanex](https://lingvanex.com/demo) | 109 | Free | [Lingvanex](https://lingvanex.com/about-us/) | Cyprus | [translators](https://github.com/UlionTse/translators) | | [CloudTranslation](https://www.cloudtranslation.com/#/translate) | 8 | Free | [Xiamen University](http://nlp.xmu.edu.cn/) / [CloudTranslation](https://www.cloudtranslation.com/#/about) | China | [translators](https://github.com/UlionTse/translators) | -| [Caiyun](https://fanyi.caiyunapp.com/) | 3 | Free\|Token Required | [ColorfulClouds](http://caiyunapp.com/jobs/) | China | [translators](https://github.com/UlionTse/translators) | +| [Caiyun](https://fanyi.caiyunapp.com/) | 3 | Token Required | [ColorfulClouds](http://caiyunapp.com/jobs/) | China | | ## Usage @@ -742,7 +742,7 @@ It's depend on your network environment , re-translate may do effect You can write a python script which supports translation api , and import it to this tool -you should write like [caiyun.py](https://github.com/anonymousException/renpy-translator/blob/main/src/custom_engine/caiyun.py) and [baidu.py](https://github.com/anonymousException/renpy-translator/blob/main/src/custom_engine/baidu.py) (the api name must be tranlate_single or tranlate_queue) +you should write like [_caiyun.py](https://github.com/anonymousException/renpy-translator/blob/main/src/custom_engine/_caiyun.py) and [_baidu.py](https://github.com/anonymousException/renpy-translator/blob/main/src/custom_engine/_baidu.py) (the api name must be tranlate_single or tranlate_queue) besides you should offer two language files for source and target like [caiyun.source.rst](https://github.com/anonymousException/renpy-translator/blob/main/src/supported_language/caiyun.source.rst?plain=1) and [caiyun.target.rst](https://github.com/anonymousException/renpy-translator/blob/main/src/supported_language/caiyun.target.rst?plain=1) diff --git a/README_zh.md b/README_zh.md index 6596caf..b37b639 100644 --- a/README_zh.md +++ b/README_zh.md @@ -4,7 +4,8 @@
一款免费开源的ren'py 翻译工具
-
+
------ @@ -37,9 +38,8 @@ https://github.com/anonymousException/renpy-translator/blob/feature/ai-translate | [Alibaba](https://translate.alibaba.com) | 214 | Free | [damo](https://damo.alibaba.com/about?tab=0&language=zh) | China | [translators](https://github.com/UlionTse/translators) | | [ModernMt](https://www.modernmt.com/translate) | 200 | Free | [Modernmt](https://github.com/modernmt) / [Translated](https://translatedlabs.com/welcome) | Italy | [translators](https://github.com/UlionTse/translators) | | [Bing](https://www.bing.com/Translator) | 133 | Free | [Modernmt](https://github.com/modernmt) / [Translated](https://translatedlabs.com/welcome) | Italy | [translators](https://github.com/UlionTse/translators) | -| [lingvanex](https://lingvanex.com/demo) | 109 | Free | [Lingvanex](https://lingvanex.com/about-us/) | Cyprus | [translators](https://github.com/UlionTse/translators) | | [CloudTranslation](https://www.cloudtranslation.com/#/translate) | 8 | Free | [Xiamen University](http://nlp.xmu.edu.cn/) / [CloudTranslation](https://www.cloudtranslation.com/#/about) | China | [translators](https://github.com/UlionTse/translators) | -| [Caiyun](https://fanyi.caiyunapp.com/) | 3 | Free | [ColorfulClouds](http://caiyunapp.com/jobs/) | China | [translators](https://github.com/UlionTse/translators) | +| [Caiyun](https://fanyi.caiyunapp.com/) | 3 | Token Required | [ColorfulClouds](http://caiyunapp.com/jobs/) | China | | ## 用法 @@ -738,7 +738,7 @@ Exception: Unterminated string starting at: line 1 column 1613 (char 1612) 你可以写一个提供翻译 api 的 python 脚本,并把它导入到此工具 -你应该参照 [caiyun.py](https://github.com/anonymousException/renpy-translator/blob/main/src/custom_engine/caiyun.py) 和 [baidu.py](https://github.com/anonymousException/renpy-translator/blob/main/src/custom_engine/baidu.py) 来写 (api 函数名必须是 tranlate_single 或 tranlate_queue) +你应该参照 [_caiyun.py](https://github.com/anonymousException/renpy-translator/blob/main/src/custom_engine/_caiyun.py) 和 [_baidu.py](https://github.com/anonymousException/renpy-translator/blob/main/src/custom_engine/_baidu.py) 来写 (api 函数名必须是 tranlate_single 或 tranlate_queue) 除此之外你还应该为 source 和 target 提供 2 个语言文件像 [caiyun.source.rst](https://github.com/anonymousException/renpy-translator/blob/main/src/supported_language/caiyun.source.rst?plain=1) 和 [caiyun.target.rst](https://github.com/anonymousException/renpy-translator/blob/main/src/supported_language/caiyun.target.rst?plain=1)