mirror of
https://github.com/AverageConsumer/kanto-gear.git
synced 2026-08-28 18:24:42 +02:00
1.1 KiB
1.1 KiB
Translating Kanto Gear
The folders here are normal Gen1Recomp companion mods. They translate only text drawn by Kanto Gear; the base game still needs its own language mod. Install them alongside Kanto Gear 1.7.2 or newer.
Included language packs:
kanto_gear_de— Germankanto_gear_es— Spanish (Spain), contributed by Desierto La Espadakanto_gear_fr— French, contributed by Blastheaven2
To add a language:
- Copy an existing language pack and give the folder and manifest a unique mod ID.
- Replace the values in
lang/<code>.luawhile keeping every source key and format placeholder (%s,%d, and%%) unchanged. - Rename the language file and update its path in
main.lua. - Run the copied
tests/catalog_test.luawith LuaJIT. Its fixed-field checks catch translations that would overflow Kanto Gear's compact UI.
Missing entries safely remain in English. No Kanto Gear source changes are
needed for another language. The companion main.lua namespaces its entries
so they cannot accidentally translate matching text in the base game or
another mod.