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.2.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.2-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ftb_quest_localizer-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 d275479e5b02742fa59e6d875b77b518d415ab8960f3face1a688ce3b861b33e
MD5 268989f5a3b87c71e1fb4e5520ee779c
BLAKE2b-256 6244708d1e056b2d5e6140b021a5f284f2de624549d11d4077f2ab011735bbc6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ftb_quest_localizer-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1de9ec18b2f0ffd76e9270b38ca2ff34ee9692251f2537d981a4241503b5a992
MD5 2ce440530cb1025c36be6f8932177d59
BLAKE2b-256 7255c1a60458e48b6ee97125f3cd102303333b8cebd87c862c06b70642c50a69

See more details on using hashes here.

Provenance

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