multilingual support & Chinese translation - #50
Conversation
|
I am so sorry I never reacted to this. I was very busy with other things and honestly just overlooked this PR. I will review it, test it and also merge it. Thank you so much for your contribution! I promise I will be better with including PR submissions! |
|
Thank you again, @robvoid. Your Simplified Chinese translation and the localization direction from this PR have now landed in v1.8.0-alpha. The implementation was rebuilt on current Your translation is credited in the README and changelog, and in commit history through a co-author trailer. Validation:
Still not fully exercised: the full interaction/casting matrix, live Project Image behavior, non-ASCII import/export, save/reload and area transitions, BG1EE, EET, alternate resolutions/fonts, the Project Infinity frontend, and WeiDU versions other than 249. Closing this PR as incorporated through the reworked implementation. Thank you for making BuffBot localization happen! |
Description
First of all, huge thanks for this brilliant mod! I'm really excited to include it in a modpack I'm assembling based on Improved Anvil, which is aimed primarily at the Chinese player community. To make that work, I've added multi-language support via WeiDU's
.trasystem, along with a Simplified Chinese translation.Admittedly, the implementation isn't the most elegant. Since WeiDU has no native handling for Lua and UI.menu files, I had to work around that by first replacing the UI‑related strings in the Lua code with placeholder tokens, and then using
REPLACE_TEXTUALLYto map those tokens to.traentries. I've tried to keep the changes to the.tp2as minimal as possible and confined them to anINCLUDE ~buffbot/TraMapping.tpa~file.I really hope you'll consider merging this PR so that players of other languages can also enjoy your fantastic mod. If you have any thoughts or suggestions on the approach, I'm very open to discussion!
Thanks again for creating and sharing this.