Jagenka / DisKordel

Fabric Mod hosting a Discord Bot
GNU General Public License v3.0
2 stars 2 forks source link

Suggestion: localization with server translations api #146

Open vico93 opened 9 months ago

vico93 commented 9 months ago

While the idea of suggesting multiple languages was in my head for a while, i just get the chance to request here after i learned of Server Translation API, a dependency mod that allows server-side mods to load translation files from data/<mod prefix>/lang, in the same style of vanilla resource packs except from loading from data instead of assets. More technical details about how to use that is on repository's readme.

The only drawback that i know is that it isnt on Modrinth, only on Github, so a link for the release will need to be included in the release description in MR if you decide to use that.

Jagenka commented 8 months ago

Thank you for the input!

There might be no need for this to be added to the mods folder, but using another API might be better, I will have to investigate.

With not much time on my hand for implementing new features, it might take a while before I do that though, as I see other features far more important/interesting.

Jagenka commented 7 months ago

i think i can make the whole server use another language - too much or just right? @vico93

vico93 commented 7 months ago

i think i can make the whole server use another language - too much or just right? @vico93

Sorry, didn't understand exacly what you meant with "make the whole server use another language". Do you mean all the non-Diskordel stuff be translated as well?

Jagenka commented 7 months ago

ignore my comment, I am working on something, sorry :D

vico93 commented 7 months ago

Np 😉

vico93 commented 5 months ago

Any updates about this?

Jagenka commented 5 months ago

I was working on it a while ago, but ran into a dead end... Lately I haven't had much time, so I did no further work. I will keep you posted when I'm back at it again!