
■ 本模组不会为您进行翻译。
■ 本地化键(Localization keys)是任何整合包进行简单、便捷翻译的基础。如果你直接将 FTB Quests 的文本写在任务配置中(config\ftbquests\quests),而不是放在 KubeJS 的独立语言文件里(kubejs\assets\kubejs\lang),可能会遇到问题。你将需要手动编写每个键,并将每个任务的文本转移到单独的文件中(如 此处 所述)。这极其繁琐且复杂。我自己也曾遇到过这个问题,但多亏了 Horeak,你不再需要手动操作。该模组本身会为你生成所有键。
■ 如何创建本地化键:
- Forge 1.40.60。
- 为 1.18.2 安装 FTB Quests 和 KubeJS
- 将此模组添加到模组文件夹中
- 运行你的整合包,完成所有任务
- 在聊天栏输入:/ftb-lang-convert <整合包语言>(例如 /ftb-lang-convert ru_ru)。整合包的语言仅影响文件名。
- 所有文件将位于文件夹 <游戏目录>\ftb-conv\ 中
- 将生成的文件移动到相应的文件夹中(kubejs\assets\kubejs\lang 和 config\ftbquests\quests)。
- 到此为止。如果你想向已生成的键添加新的任务,请不要这样做。所有后续的任务及其本地化键都需要手动编写。此模组仅应在你完成撰写所有任务文本后使用。
- 生成语言文件后,你可以删除该模组。


■ 非常重要:
- 此模组在任何情况下都不会再进行更新。它最初是为Play as dragon整合包创建的,但其他整合包制作者也可以使用它。源代码见此处。
- 头像由 naanahstnil 提供。
- 如果您希望为整合包使用图片,最好在生成本地化文本后再创建它们。该模组在文本中间插入图片时效果不佳。请将图片仅用于文本的开头和结尾。
- 文本中的一些字符可能与 kubejs 配合不佳。如果您的文本顶部出现“格式错误”(Format error)提示,请重新输入文本,并尽量避免使用任何特殊符号。这不会影响整体功能。
- 你的任务列表将生成一个备份副本,保存在 ftb-conv 文件夹中。以防万一。
- 本模组不会自动为你翻译整合包。 仅提供本地化键值。

■ This mod does not do the translation for you.
■ Localization keys are the basis for simple and easy translations of any modpack. If you wrote the text of your FTB quests directly inside the quests (config\ftbquests\quests) instead of putting them in a separate file for kubejs (kubejs\assets\kubejs\lang), you may encounter a problem. You will have to manually write each key and transfer the text of each quest to a separate file (as written here). This is extremely tedious and complicated. I ran into this myself, but thanks to Horeak you don't have to do it manually anymore. The mod itself will generate all the keys for you.
■ How to create localization keys:
- Forge 1.40.60.
- Install FTB Quests and KubeJS for 1.18.2
- Add this mod to the mod folder
- Run your modpack with fully written quests
- Write in chat: /ftb-lang-convert <modpack language> (/ftb-lang-convert ru_ru). Modpack language affects only file name.
- All files will be in the folder <gamedir>\ftb-conv\
- Move the generated files to the appropriate folders (kubejs\assets\kubejs\lang and config\ftbquests\quests).
- That's all. If you want to add new quests to the already generated keys, don't do it. All subsequent quests and their localization keys will have to be written manually. This mod should only be used when you have finished writing all the text for your quests.
- After generating the language you can delete the mod.


■ Very important:
- This mod will NOT be updated again under any circumstances. It was created once for the Play as dragon modpack, but any other modpack creator can use it too. Source code here.
- Avatar by naanahstnil.
- If you want to use images for modpack, it is better to create them after the generation of localization. Mod does not work well with images in the center of the text. Use images only at the beginning and end.
- Some characters in the text may not work well with kubejs. If you get the phrase "Format error" at the top of your text, write the text again and try not to use any symbols. It doesn't affect anything.
- A backup copy of your quests will be created in the ftb-conv folder. Just in case.
- This mod does not do the translation modpacks for you. Localization keys only.
评论 0
登录后参与评分
还没有评论,来抢沙发吧