update note
This commit is contained in:
parent
ed53442942
commit
e22f1917b2
@ -1,16 +1,16 @@
|
|||||||
"""
|
"""
|
||||||
Translate this project to other languages
|
Translate this project to other languages
|
||||||
Usage:o
|
Usage:
|
||||||
1. modify LANG
|
1. modify LANG
|
||||||
LANG = "English"
|
LANG = "English"
|
||||||
|
|
||||||
2. modify TransPrompt
|
2. modify TransPrompt
|
||||||
TransPrompt = f"Replace each json value `#` with translated results in English, e.g., \"原始文本\":\"TranslatedText\". Keep Json format. Do not answer #."
|
TransPrompt = f"Replace each json value `#` with translated results in English, e.g., \"原始文本\":\"TranslatedText\". Keep Json format. Do not answer #."
|
||||||
|
|
||||||
3. Run `python multi_language.py`.
|
3. Run `python multi_language.py`.
|
||||||
Note: You need to run it multiple times to increase translation coverage because GPT makes mistakes sometimes.
|
Note: You need to run it multiple times to increase translation coverage because GPT makes mistakes sometimes.
|
||||||
|
|
||||||
4. Find translated program in `multi-language\English\*`
|
4. Find the translated program in `multi-language\English\*`
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user