Open shinyashen opened 1 year ago
I am currently working on slowly transferring to using the fabric API translations. There are some implications that I have yet to solve, but those will be fixed eventually.
Both Capture & Playback, and G4mespeed-UI have moved away from my own translation module.
The only reason it is currently still in use is because some settings might only exist on the server, in which case translations have to be sent to the client. Either way, I want to fix this issue.
Recently, when I was trying to translate this mod, I found that when the translated
en.lang
file (my file's name:zh-CN.lang
) was loaded through the resource pack, the translated file could not be loaded correctly. Then, I found the following in your code:After this, I tried loading the resource pack with the translated file renamed
en.lang
, but the translation still didn't work. Is there a way to make the mod, like most other mods, recognize the language files (such as.json
or.lang
) in the resource pack and load them correctly?