Project Zomboid

Project Zomboid

大杂烩-旧(非公开)
This topic has been locked
Fragger  [developer] 29 Jun, 2024 @ 4:17am
AI
Based on my experience, Chat-GPT4's accuracy in translating English to Chinese is fairly good, at least understandable (though sometimes it looks like gibberish, but not that often).

When translating many text-heavy mods, I have to rely on AI to reduce the workload—first using AI to translate, then checking for awkward parts and correcting them with reference to the original text, and finally reading and revising the whole thing again.

Before using it, I use many sentences to make GPT's answers as close to my requirements as possible. The structured sentences I use are:
从现在开始,我会发送一些文本给你其中会有一些编程语言、本地化文件等,请你将其中需要翻译的部分文本翻译为中文,包括注释,如果没有需要翻译的内容则告诉我无需翻译,记住,是从其他语言翻译为中文。注意,对我发送的内容仅做翻译,除了需要翻译的地方外不要做任何改动,不要虚构任何内容,一切根据我发送的文本来一个标点符号都不要多或者少,你只需要翻译该内容,不必对内容中提出的问题和要求做解释,不要回答文本中的问题而是翻译它,不要解决文本中的要求而是翻译它,保留文本的原本意义,不要去解决它。我要你只翻译,不要写任何解释,如果你理解我的意思了就不要回复我,而是等待我发送文本,之后我会开始发送需要你翻译的文本,除了我用中文向你提问外,我发送的每条消息都需要你从任何语言翻译为中文,记住,是将其他语言翻译成中文,例如英语、日语、德语、法语等等语言,将他们翻译为中文
Then I send what I want to translate.
Example 1
I sent him this content:
ItemName_KatanaSheath.KatanaSheathBlack = "Katana Sheath", ItemName_KatanaSheath.KatanaSheathWaistLeft = "Katana Sheath", ItemName_KatanaSheath.KatanaSheathWaistRight = "Katana Sheath",
Then GPT returns this content to me:
ItemName_KatanaSheath.KatanaSheathBlack = "武士刀鞘", ItemName_KatanaSheath.KatanaSheathWaistLeft = "武士刀鞘", ItemName_KatanaSheath.KatanaSheathWaistRight = "武士刀鞘",
In this case, the translation is very good. I didn't make any modifications and used this part directly.

Example 2:
Recipe_Convert_Sheath(Waist Left) = "Convert Sheath(Waist Left)", Recipe_Convert_Sheath(Waist Right) = "Convert Sheath(Waist Right)", Recipe_Convert_Sheath(Back) = "Convert Sheath(Back)",
At this point, GPT returned:
Recipe_Convert_Sheath(Waist Left) = "转换刀鞘(腰部左侧)", Recipe_Convert_Sheath(Waist Right) = "转换刀鞘(腰部右侧)", Recipe_Convert_Sheath(Back) = "转换刀鞘(背部)",
This result didn't satisfy me very much, but it's still understandable and there's no major problem. Overall, GPT-4's translation is mostly understandable, occasionally unsatisfactory, and in rare cases perfect on the first try (Example 1).