Language System Basis (#6172)
Introduces the basis for a language system to allow the UI to be translated to any language and/or have the text changed by mods. A lot of things would require more work but, for a proof of concept, this PR makes all randomizer trick names & descriptions translatable (currently not re-loadable at runtime as that would require deeper changes and this is already merge conflict hell every time a trick is touched). The system works by passing it a "translation path" which is resolved in the .json including object indentation. If the resulting json object is a list of strings, instead of a string, they get concatenated (purely for organization/QoL).
This commit is contained in:
1011
soh/assets/custom/lang/en_US.json
Normal file
1011
soh/assets/custom/lang/en_US.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user