Minecraft 有一个方便的功能来支持不同语言的模组。然而,这个模组旨在解决以下几个问题。

情况 1
问题:
作者发布了一个模组,社区开始向作者发送其他语言的翻译。但由于某些原因,作者并未对模组进行更新。唯一的解决方案是手动将你的翻译添加到 jar 文件中,希望模组的作者有一天能批准这些翻译。然而,如果模组有任何更新,你所有的努力都将被覆盖。
解决方案:
Polyglot 模组允许你将翻译文件移动到另一个位置。在你的构建根文件夹中会创建一个文件夹,你可以将翻译文件存储在其中。
这样,你就不需要再编辑 jar 文件,也不必担心在模组更新后翻译被覆盖。你的翻译完全独立。
情况 2
问题:
出于某些原因,作者决定不使用为文本翻译创建的功能,而是将文本硬编码,因此无法通过翻译文件进行翻译。
解决方案:
目前阶段,Polyglot 允许从物品工具提示(tooltip)中翻译此类文本。你需要在翻译文件中添加一行以下格式的文本:
如何使用:
你可以在 wiki 中找到指南。
Minecraft has a handy feature to support mods in different languages. However, there are a few problems that this mod should solve.

Case 1
Problem:
The author released a mod, and the community started sending the author translations in other languages. However, for some reason the author does not make changes to the mod. The only solution is to manually add your translation to the jar file, hoping that the author of the mod will someday approve the translation. However, if any update comes out on the mod, all your hard work will be overwritten.
Solution:
The Polyglot mod allows you to move your translations to another location. A folder will be created in the root folder of your build where you can store your translations.
This way, you no longer need to edit the jar file and you don't have to worry about your translation being overwritten after a mod update. Your translation is completely independent.
Case 2
Problem:
For some reason, the author decided not to use the functionality created for text translation and hardcoded the text and it will not be possible to translate it by translation files.
Solution:
At the current stage Polyglot allows to translate such text from item tooltips. You need to add a line of the following format to the translation file
How to:
You can find guide in wiki.
评论 0
登录后参与评分
还没有评论,来抢沙发吧