Download Re-FTBQLocalizationKeys — Minecraft Mods — MetaMods

Re-FTBQLocalizationKeys

Active

Downloads

22

Last update

2 years ago

Versions

1.16.4 — 1.20.2
Client
Fabric
Forge
Quilt
Utils

Re-FTBQLocalizationKeys (Re-FTBQKeys)

This is a fork of the FTB Quests: Localization keys mod, designed to automatically extract localization keys from FTB Quests task files and generate language files.

How to Use

You need to install FTB Quests and KubeJS. Run your modpack with fully completed quests, then enter the command /ftbqkey <language code> in chat (for example, /ftbqkey zh_cn). The language code only affects the file name. All generated files will be located in the <gamedir>/ftbqkeys/ folder. Move them to the appropriate folders: kubejs/assets/kubejs/lang and config/ftbquests/quests. After generating the language files, you can remove this mod.

Important Notes

Version 1.0.0-1.16.5 requires Java 16 or higher. The mod should only be used after all quest texts are fully prepared. If you add new quests after generating the keys, all subsequent quests and their localization keys will have to be written manually. It is recommended to add images after generating localization, as they do not display well in the center of text. If a "Format error" appears at the top of the text, rewrite the text, avoiding the use of special characters. Task backups are created in the ftbqkeys folder.

Code References

The code is based on the following projects:

  • Horeak/ftb-quest-lang-generator (FTB Quests: Localization keys) for Forge 1.18+ (CC-BY-4.0)
  • criscky/ftb-quest-lang-generator for Forge 1.16.5 (CC-BY-4.0)
  • DM-Fabric-Ports/ftb-quest-lang-generator (FTB Quests: Localization Keys Refabricated) for Fabric 1.18+ (CC-BY-4.0)

Please do not report Re-FTBQKeys issues to the official FTB Quests: Localization keys Github or CurseForge.

Project members
TexTrue

TexTrue

Created: 13 Dec 2022

ID: 6414