FTB Quest Localization Helper
Project description
FTB Quest Localizer
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:
- 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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d275479e5b02742fa59e6d875b77b518d415ab8960f3face1a688ce3b861b33e
|
|
| MD5 |
268989f5a3b87c71e1fb4e5520ee779c
|
|
| BLAKE2b-256 |
6244708d1e056b2d5e6140b021a5f284f2de624549d11d4077f2ab011735bbc6
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ftb_quest_localizer-1.0.2.tar.gz -
Subject digest:
d275479e5b02742fa59e6d875b77b518d415ab8960f3face1a688ce3b861b33e - Sigstore transparency entry: 206814929
- Sigstore integration time:
-
Permalink:
zack-zzq/FTBQuestLocalizerPython@e42f5731153f3be77f46ca54db0694ce6571bced -
Branch / Tag:
refs/heads/main - Owner: https://github.com/zack-zzq
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@e42f5731153f3be77f46ca54db0694ce6571bced -
Trigger Event:
push
-
Statement type:
File details
Details for the file ftb_quest_localizer-1.0.2-py3-none-any.whl.
File metadata
- Download URL: ftb_quest_localizer-1.0.2-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1de9ec18b2f0ffd76e9270b38ca2ff34ee9692251f2537d981a4241503b5a992
|
|
| MD5 |
2ce440530cb1025c36be6f8932177d59
|
|
| BLAKE2b-256 |
7255c1a60458e48b6ee97125f3cd102303333b8cebd87c862c06b70642c50a69
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ftb_quest_localizer-1.0.2-py3-none-any.whl -
Subject digest:
1de9ec18b2f0ffd76e9270b38ca2ff34ee9692251f2537d981a4241503b5a992 - Sigstore transparency entry: 206814931
- Sigstore integration time:
-
Permalink:
zack-zzq/FTBQuestLocalizerPython@e42f5731153f3be77f46ca54db0694ce6571bced -
Branch / Tag:
refs/heads/main - Owner: https://github.com/zack-zzq
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@e42f5731153f3be77f46ca54db0694ce6571bced -
Trigger Event:
push
-
Statement type: