Traditional Chinese build fork for Gakumas translation data.
這個倉庫維持上游的同步與發布流程,並在 local-files 之上增加繁中轉換與驗證流程。
Latest package API: https://api.github.com/repos/fullpie/GakumasTranslationData/releases/latest
Android 版建議搭配 fullpie/Gakumas_apptest 提供的修正版 app。此 app 修正了原 Android 版部分文字掛載問題,包括 Produce Card 文字缺漏、genericTrans hook 匹配,以及部分數值顯示成重複數字的問題,例如 +7 顯示為 +77、+2 顯示為 +22。
這些問題是在 Android app 端修正,繁中包本身仍維持與 PC/DMM 版共用,不需要在翻譯包內加入 Android 專用資料。
請到 App 倉庫的 Releases,在最新的 app-v... Release 下載:
GakumasLocalify-app-vX.Y.Z.apk
App 原始碼位於 fullpie/Gakumas_apptest,也可以直接下載 main 分支 ZIP。
Fork、clone 或解壓後上傳到自己的 GitHub repo,即可使用內建的 Android CI workflow 編譯 APK,並從 Actions artifact 下載建置結果。
第一次從原作者 app、其他人建置的版本,或舊的非固定簽名版本切換到本專案時,請先解除安裝舊的 Gakumas Localify app,再安裝新版,以免 Android 因簽名不同而拒絕安裝。
這項提醒只針對 Localify app。安裝本專案的固定簽名版本後,後續 app-v... 新版可以直接覆蓋安裝。
- Upstream base repository:
chinosk6/GakumasTranslationData - This fork keeps the original merge/release pipeline and adds a Traditional Chinese output layer.
- GitHub Actions can update submodules, rebuild resources, and publish the zhTW package automatically.
- Update submodules to fetch the latest translation data.
- Put raw ADV script files into
./raw. - Run
merge.pyto generate./local-files. - Run
build_zhtw.pyto generate./local-files-zhTW. - Pack the result into
GakumasTranslationData_zhTW.zip.
./raw: raw ADV script files (adv*.txt), not committed./gakuen-adapted-translation-data: adapted story translation source./GakumasPreTranslation: fallback pretranslation and localization source./gakumas-generic-strings-translation: generic string translation source./gakumas-master-translation: master table translation source./local-files: merged Simplified Chinese output./local-files-zhTW: Traditional Chinese output
./merge.py: merges submodule data and raw ADV files into./local-files./build_zhtw.py: builds zhTW output from./local-files./name_dictionary_zhTW.json: exact replacements for names and protected terms./term_dictionary_zhTW.json: project-specific zhTW term overrides./regex_dictionary_zhTW.json: regex-based zhTW normalization rules./version.txt: version used for release naming
- Conversion is based on OpenCC with project-specific overrides.
- JSON processing only converts values;
resourcefiles are handled by field. - Lines containing kana are protected before exact-term and regex normalization.
zhtw_validation_report.jsonis used to detect broken protected terms and known Simplified Chinese leftovers.
zhtw_validation_report.json is a generated diagnostic file, ignored by git, and not part of the release payload.
- Python 3.11
pip install -r requirements.txtpip install opencc-python-reimplemented- submodules initialized and updated
git submodule update --init --recursive
python merge.pypython build_zhtw.pyOutputs:
./local-files-zhTW./GakumasTranslationData_zhTW.zip
merge.pydepends on upstream file formats; upstream changes may affect the build.- Keep zhTW-specific fixes in
name_dictionary_zhTW.json,term_dictionary_zhTW.json, andregex_dictionary_zhTW.json. - Android app compatibility fixes should stay in the app build, not in the shared translation package, unless the same issue is confirmed on PC/DMM.