English | 中文
FTB Quest Localizer is a tool for extracting quest strings from Minecraft modpacks into JSON files for easy localization.
Note: Works only with Minecraft 1.15+ modpacks
From Pypi:
pip install ftb-quest-localizer
From source:
git clone https://github.com/your-username/FTB-Quest-Localizer
cd FTB-Quest-Localizer
pip install -e .
The tool requires access to a FTB quests directory.
ftb-quest-localizer --modpack <modpack_name> --path <ftbquests_path>
Options:
--modpack,-m: Modpack name (used for JSON keys)--path,-p: Path to the ftbquests directory--help,-h: Show help message
from ftb_quest_localizer.localizer import run
# Run localization with modpack name and path to ftbquests
run("modpack_name", "path/to/ftbquests")The tool:
- Scans and extracts quest files from the ftbquests/quests/chapters directory
- Extracts title, subtitle, and description fields
- Replaces original text with translation keys
- Generates JSON language files containing the original text