Open PalmTamino opened 2 years ago
@BONNe Any news on this? Will it come or not?
@PalmTamino Triton has a nice collection generator, with which you can easily migrate already translated files into Triton - https://triton-generator.rexcantor64.com/
I think that could be helpful in your case
Is your feature request related to a problem?
Not a bug or something, but a problem i have for myself.
I translated my server with the plugin Triton into two languages, English and German, so when a new player joins he can change his language simply with a command and every message, gui, scoreboard, everything! will be changed because i took the time and translated all of those strings of the plugins.
But how does it work?
Let's say we have a vanish plugin, it has a simple config and a messages.yml You take the message "You are now in Vanish" put it into the english field in Triton, add a German translation too and then you define an item key. the key should be something like "vanishplugin.vanished" but thats your own choice, here's an example:
In the messages.yml you write now the key but you write it like that: [lang]vanishplugin.vanished[/lang], this is really cool even supports placeholders (look documentation for that)
so, what is my problem now?
Well, Bentobox is already translated and i don't wanna do the process for everything again and have a far better solution which benefits everyone
l l l v
Describe the solution you'd like.
Okay, so i think it would be cool if BentoBox and all of the addons just look which language a player set in triton and then change their language automatically. Of course for people who don't want this integration with Triton, there should (maybe) be an option to disable it in the config
Describe alternatives you've considered.
Haven't found any
Agreements
Other
No response