Skip to main content

FTB Quest Localization Tool - Extract and manage quest strings for easy localization

Project description

FTB Quest Localizer

PyPI version Python Version License

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

Installation

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 .

Usage

The tool requires access to a FTB quests directory.

Command Line Usage

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

As a Python Library

from ftb_quest_localizer.localizer import run

# Run localization with modpack name and path to ftbquests
run("modpack_name", "path/to/ftbquests")

How It Works

The tool:

  1. Scans and extracts quest files from the ftbquests/quests/chapters directory
  2. Extracts title, subtitle, and description fields
  3. Replaces original text with translation keys
  4. Generates JSON language files containing the original text

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ftb_quest_localizer-2.0.0.tar.gz (23.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ftb_quest_localizer-2.0.0-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file ftb_quest_localizer-2.0.0.tar.gz.

File metadata

  • Download URL: ftb_quest_localizer-2.0.0.tar.gz
  • Upload date:
  • Size: 23.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ftb_quest_localizer-2.0.0.tar.gz
Algorithm Hash digest
SHA256 30335f739a4de91114eacd4fb8fb49c706b7fb107c73e084a2e790e2bd4829bd
MD5 762a07d64a9d929a6fdbf5f31231b4ee
BLAKE2b-256 2369091d2b97e6916016b5e65f714abe09c2146d34062cffacb5fe8ab98a9657

See more details on using hashes here.

Provenance

The following attestation bundles were made for ftb_quest_localizer-2.0.0.tar.gz:

Publisher: publish-to-pypi.yml on zack-zzq/FTBQuestLocalizerPython

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ftb_quest_localizer-2.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ftb_quest_localizer-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 040259fbca41a6a826b35a3a82a99c8544e487ce001a17a43bf402f239b408e2
MD5 a2238ab5f2ef175fddb4bb237ec4cd8f
BLAKE2b-256 ee8e3211c924bc89d0c7a4aa58c529daa0c5a2660eef05c0cf935b1421298486

See more details on using hashes here.

Provenance

The following attestation bundles were made for ftb_quest_localizer-2.0.0-py3-none-any.whl:

Publisher: publish-to-pypi.yml on zack-zzq/FTBQuestLocalizerPython

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page