Origins (Fabric)

Origins (Fabric)

15M Downloads

Add translations (language json file) for some other hard-coded origins

LinHeLurking opened this issue ยท 4 comments

commented

I'm translating some mods. I've noticed that RPG Origins has all names and descriptions directly in data/rpg_origins/origins/xxx.json. Is there a way to use translation files to override hard-coded texts?

commented

Do you mean to treat hard-coded texts normal translation keys like this?
If so, it works. But I can't ensure that all hard-coded texts in all accessory mods can be translated like the way mentioned above.
And hard-coded texts in different mods conflict sometimes (same text), so we can only hope that the authors of the accessory mods can actively use the translation keys.
Finally, I don't know if they just don't care about the use of the translate keys or if there are some deep-seated causes.

commented

Currently I translate it by unpacking the jar file, add i18n json files and then pack it to a jar file. I'm wondering if there's a better way. Or just hope original developers choose to use translate keys.
๐Ÿ˜ข

commented

I'm confused what you're asking for exactly.
If you're having issues translating stuff from other mods, why are you making an issue about it here? ๐Ÿค”

commented

I'm confused what you're asking for exactly. If you're having issues translating stuff from other mods, why are you making an issue about it here? ๐Ÿค”

It's about text loading. If name is hard-coded in json files, the origin mod never reads it from a language json, even it is presented.