{"id":24261891,"url":"https://github.com/millenniumearl/pgm-translator","last_synced_at":"2026-05-09T08:08:56.174Z","repository":{"id":103975693,"uuid":"513193164","full_name":"MillenniumEarl/pgm-translator","owner":"MillenniumEarl","description":"Translation tool for games developed with Pixel Game Maker","archived":false,"fork":false,"pushed_at":"2023-12-15T02:58:34.000Z","size":17,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-15T07:40:53.408Z","etag":null,"topics":["json","pixel-game-maker","translator"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MillenniumEarl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-12T15:20:29.000Z","updated_at":"2023-05-18T13:21:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"dbfe319f-ad2d-4a1a-8944-ec443345d223","html_url":"https://github.com/MillenniumEarl/pgm-translator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MillenniumEarl%2Fpgm-translator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MillenniumEarl%2Fpgm-translator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MillenniumEarl%2Fpgm-translator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MillenniumEarl%2Fpgm-translator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MillenniumEarl","download_url":"https://codeload.github.com/MillenniumEarl/pgm-translator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241934069,"owners_count":20044818,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["json","pixel-game-maker","translator"],"created_at":"2025-01-15T06:49:33.037Z","updated_at":"2026-05-09T08:08:51.081Z","avatar_url":"https://github.com/MillenniumEarl.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\n Copyright (c) 2022 MillenniumEarl\n \n This software is released under the MIT License.\n https://opensource.org/licenses/MIT\n--\u003e\n\n# Pixel Game Maker Translator\n\nThis script deals with translating and optimizing the data, contained in the `project.json` file, of a game developed with [Pixel Game Maker MV](https://tkool.jp/act/en/index.html).\n\nTo function correctly, the file must be readable, that means decrypted. For this, please refer to the following link on [F95Zone](https://www.google.com/url?sa=t\u0026rct=j\u0026q=\u0026esrc=s\u0026source=web\u0026cd=\u0026cad=rja\u0026uact=8\u0026ved=2ahUKEwjj3Myr1vP4AhVFXvEDHcmODIcQFnoECBoQAQ\u0026url=https%3A%2F%2Ff95zone.to%2Fthreads%2Fpixel-game-maker-mv-extractor.105950%2F\u0026usg=AOvVaw3bguItkoSn-u3_3s_LLRrK) (courtesy of @xj47).\n\nThe script is completely automatic but it is still possible to extract the localization strings for manual modification.\n\n## Quick-start\n\nThis script uses [Python 3.x](https://www.python.org/downloads/) and modules in the `requirements.txt` file. These modules can be installed with the command `pip install -r path/on/disk/to/requirements.txt`.\n\nPlace the script in the same directory of the (decrypted) `project.json` and run it.\n\n**Warning**: This script overwrites the file, so make sure to create a backup copy!\n\n## Command-line Arguments\n\nIt is possible to have information on the various argoments using the command `python PGMTranslator.py -h`\n\n| Argument  |     Type      |  Description |\n|-----------|---------------|--------------|\n|    `-p`     |    `string`     | Path to the `project.json` file. If not specified, the file is sought in the current folder  |\n|    `-fl`    | `string/locale` | Code of strings from which to translate (eg zh_CN). Default is `auto`, it automatically select the first available language |\n|    `-tl`    | `string/locale` | Code of strings to translate (eg en_US)  |\n|    `-s`     |    `boolean`    | Avoid the translation of a string that has already been translated for the language specified in `-tl` |\n|    `-e`    |    `string`     | Export the part of JSON files containing the strings to be localized in the specified path. Useful for manually changing the strings|\n|    `-i`     |    `string`     | Import the part of JSON containing the localized strings (previously exported with the parameter `-e`)| from the specified path\n|    `-o`     |    `boolean`    | Optimize the JSON file by removing indections and spaces, reducing its size and speeding up subsequent operations. It can take many minutes and at least 1 GB of free RAM |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmillenniumearl%2Fpgm-translator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmillenniumearl%2Fpgm-translator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmillenniumearl%2Fpgm-translator/lists"}