Skip to main content

FTB Quest Localization Helper

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-1.0.1.tar.gz (5.3 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-1.0.1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ftb_quest_localizer-1.0.1.tar.gz
Algorithm Hash digest
SHA256 ab50db15926c984712202785d307ebc71e697436e44d09b25678da26655e03ec
MD5 30eb0da5a4d37f6ea3998b93143947fe
BLAKE2b-256 e27a0f1a7c2695bb1f6f643e1739c293e784141d8b616639e17c6974780b3a06

See more details on using hashes here.

Provenance

The following attestation bundles were made for ftb_quest_localizer-1.0.1.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-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ftb_quest_localizer-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fa0a40bfa9643da199e331e6ec08b95a35e3549ed0f6842d575b7107a8f5a428
MD5 e35d7a6aa136ae13a110f0a84c5d6316
BLAKE2b-256 2362a96a7ea6753cf840c4aa71e15946e5a5ad4595072363765e73b50c766922

See more details on using hashes here.

Provenance

The following attestation bundles were made for ftb_quest_localizer-1.0.1-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