BentoBox icon indicating copy to clipboard operation
BentoBox copied to clipboard

Add Triton support to Bentobox for better language experience

Open socksprox opened this issue 3 years ago • 2 comments

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: grafik

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

  • [X] I have searched for and ensured there isn't already an open issue regarding this.
  • [X] I have ensured the feature I'm requesting isn't already in the latest supported BentoBox build or Addons.

Other

No response

socksprox avatar Oct 18 '22 17:10 socksprox

@BONNe Any news on this? Will it come or not?

socksprox avatar Oct 30 '22 09:10 socksprox

@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

piotrskibapl avatar Nov 09 '22 22:11 piotrskibapl