Skip to main content

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

translatools-0.1.0.tar.gz (18.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

translatools-0.1.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file translatools-0.1.0.tar.gz.

File metadata

  • Download URL: translatools-0.1.0.tar.gz
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.20

File hashes

Hashes for translatools-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3b70d202924c09045fcb530ac4fecceadf5ace2d66c780b0b02fa800d78d3143
MD5 ca7d3869a6460b5a2cedb26240a60696
BLAKE2b-256 18c17950e3355a46b8e01464eeefa77ffe261cf947266f70313df25f9fb0a882

See more details on using hashes here.

File details

Details for the file translatools-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for translatools-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2774bf615dae31ccc1003cb9ffde6881df23e1bfc05d1bd939c6a6553ee304a5
MD5 8592f0968f51c2e029b48271d01fddc6
BLAKE2b-256 b0a3ca8cda2bbe622e04b3eb25d1483c49ac44bbfbfd3f800419b1b156e4faef

See more details on using hashes here.

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