Add your description here
Project description
TranslaTools
A toolset of translating Minecraft modpacks.
Currently working in progress.
Usage
Start a new translation project
a) Download CurseForge Modpack
translatools init {curseforge_project_id}
Using the command to initialize the project in the current directory. The directory must be empty.
You need to add CF_API_KEY to the environment variable, or passing it as an argument --api-key {the_key}.
When the downloading is complete, you need to edit the config.json file, fill the paratranz_id. And there's a flaw
in the current version that _cwd is also exported to the config file, you can remove it.
b) Add Configuration to existing modpack directory
Create a file, config.json preferred.
{
// CurseForge project ID
"project_id": 345678,
// Paratranz project ID
"paratranz_id": 67890,
// The CurseForge file ID, or 0 if you don't know
// It's used for updating the files from the latest version. Not implemented yet.
"current_version_id": 1234567,
// A list of paths to tracked JSONs
// And glob is supported, where you can use '*' and '**' for matching multiple files,
// See glob: https://en.wikipedia.org/wiki/Glob_(programming)
"tracked_json_paths": [
"overrides/foo/bar/*.json"
],
"tracked_lang_paths": [
"overrides/resources/**/lang/en_us.lang"
],
// true to enable ftb quests support
"ftbquests": false
}
Fill in these fields, and remove the comments, because they're not supported in standard JSON.
Upload to Paratranz
translatools sync2paratranz
Like initialization, you need to add PARATRANZ_API_KEY to the environment variable, or passing it as an argument
--api-key {the_key}
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 translatools-0.1.1.tar.gz.
File metadata
- Download URL: translatools-0.1.1.tar.gz
- Upload date:
- Size: 18.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee413d39af13fb1af8337b50c427505082dd5c68c13e48acfb4413283504aa99
|
|
| MD5 |
6a954dda24051262b2878e509890f6b1
|
|
| BLAKE2b-256 |
805bb5bd70ba165534bbfa94be75ece9a4c0a50d5423eecafbea416ad0004e25
|
File details
Details for the file translatools-0.1.1-py3-none-any.whl.
File metadata
- Download URL: translatools-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ab5ceda0ee0314b974a6b667bc14d0a974eab5089023088dbf9d915985b6a9e
|
|
| MD5 |
9b5491b1331d9021fbf77c6a3029d3c8
|
|
| BLAKE2b-256 |
e4b51fdce752e85c9b390e03dfa22f577faa622c14ab7d0b3d5435bf54e1c76b
|