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,
// deprecated!
"tracked_json_paths": [],
// deprecated!
"tracked_lang_paths": [],
// deprecated!
"ftbquests": false,
// tracked files with their type.
"tracked_files": [
{
// the path to the file, or the glob to match all the files.
// See glob: https://en.wikipedia.org/wiki/Glob_(programming)
"path": "overrides/kubejs/assets/**/lang/en_us.json",
// the type of the files.
// it determines how the app treat these files.
// supported types:
// - "json_kv": the JSON files where the root is an object, which it only contains string values.
// - "lang_kv": the regular Minecraft .lang files
// - "ftbquests_chapter": the SNBT file of Chapter definition of FTB Quests
"type": "json_kv"
}
]
}
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}
Metadata
Release files for translatools 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| translatools-0.2.1.tar.gz | 20.1 kB | Without provenance | Details for translatools-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| translatools-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for translatools-0.2.1-py3-none-any.whl |
Total release size: 31.9 kB
Release files / translatools-0.2.1.tar.gz
| Download URL | translatools-0.2.1.tar.gz |
|---|---|
| Size | 20.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bcb8bfac53dc246d4d49a0b5a79dfb75d495fe5ab97bb72e5fd19a2d456471ac
|
|
BLAKE2b-256 checksum How to use checksums |
7ea0443318b0cee250dec8490affc0330049dcf028f27fd83ee1ab1a38864e19
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.20
|
Release files / translatools-0.2.1-py3-none-any.whl
| Download URL | translatools-0.2.1-py3-none-any.whl |
|---|---|
| Size | 11.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
81f162547976e8c9cd6c0d655a0e60953de8e00133e9768ea53767cee3733e03
|
|
BLAKE2b-256 checksum How to use checksums |
3ac594d49e0743b14386cd8f0f3546cffcfde827f4e22e23365e1adfa2e0a255
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.20
|
Security for translatools 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.