dsh-mtrans

Four DSH tools for translating MTool-format game scripts: mtrans_info analyses a ManualTransFile.json, mtrans_prepare splits its text keys into chunk files, mtrans_apply merges the translated chunks back, and mtrans_translate runs the whole file through a registered LLM provider (Japanese or English to Chinese).

Overview

Four DSH tools for translating MTool-format game scripts: mtrans_info analyses a ManualTransFile.json, mtrans_prepare splits its text keys into chunk files, mtrans_apply merges the translated chunks back, and mtrans_translate runs the whole file through a registered LLM provider (Japanese or English to Chinese).

Installation

Install from GitHub

dsh plugin --profile web add github:AmahaHanasaki/dsh-mtrans

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands