Skip to content

Commit

Permalink
<docs> update README
Browse files Browse the repository at this point in the history
  • Loading branch information
anonymousException committed Feb 26, 2024
1 parent ab1454b commit cc7c62f
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,27 @@ You can download the latest version through https://github.com/anonymousExceptio
- Support translate/extract for all rpy files under directory
- Support **replace the fonts** used by translated language
- Support **be compatible with** the translated game that not translated by this translator. The translated contents before will be remained and just translate the untranslated contents
- Support skip extract the extracted contents , need not to be worried about **repeat** extraction

For example , if the translation message already exists in tl folder
like :

```python
old "Hello"
new "こんにちは"
```

or :

```python
# game/xxx.rpy:1352
translate japanese role_lose_7489b947:

# "Hello"
"こんにちは"
```

Then "Hello" will not be extracted again
- Support **108** kinds of language (Default Google Translation) , you can view the [google support source](https://github.com/anonymousException/renpy-translator/blob/main/src/google.source.rst?plain=1) and the [google support target](https://github.com/anonymousException/renpy-translator/blob/main/src/google.target.rst?plain=1)
- Support **remain the original words as comments** after translation
- Support **real-time log output** , you can check the progress about the translation
Expand Down
22 changes: 22 additions & 0 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,28 @@ https://github.com/anonymousException/renpy-translator/blob/feature/ai-translate
- 支持遍历某目录下的所有 rpy 进行翻译/抽取
- 支持**替换**要被翻译的语言的字体
- **兼容**未被该工具的翻译的翻译过的游戏 已经翻译过的原文会被保留,只翻译未翻译的内容
- 支持**跳过**已抽取过的内容 , 不用担心**重复**抽取

举个例子 ,如果翻译内容已经存在于 tl 目录下

如:

```python
old "Hello"
new "こんにちは"
```

或:

```python
# game/xxx.rpy:1352
translate japanese role_lose_7489b947:

# "Hello"
"こんにちは"
```

那么 "Hello" 将不会再被抽取
- 支持 **108 种**语言(默认的谷歌翻译),具体的语言列表可参考: [谷歌源语言](https://github.com/anonymousException/renpy-translator/blob/main/src/google.source.rst?plain=1)[谷歌目标(翻译后)的语言](https://github.com/anonymousException/renpy-translator/blob/main/src/google.target.rst?plain=1)
- 支持**保留**未被翻译的原本作为**注释**
- 支持**实时日志输出** , 你可以随时观察当前的翻译进度
Expand Down

0 comments on commit cc7c62f

Please sign in to comment.