Adding multiple languages
Hey,
I would like an option to show bot messages in the language the client has set its language to.
So like we would provide the translations, and it's displayed in the language the user has set his client to.
-
ozan12301
0 -
Good idea
0 -
Yeah good idea.
Atm it's so annoying. If a server has users from multiple countries we can't really make the bot answer in other languages for one user, as it would confuse others.0 -
This is pretty hard to do, since Discord would most likely need to get permission from every bot developer to edit the code of their bot to support people from other countries, and it's not likely that any discord bot can have access to your account settings to see what language your discord app is using. Some bots have configurations that support other languages so look into it and see if you can change the bots language in its config.
-1 -
What?
It's not about setting one language and discord wouldn't have do edit bot code(Wtf?!).
At the moment, we can send messages to only one user on a server with a SlashCommandEvent. It could work in a similar way. The bot also doesn't need to have access to client settings. The bot just sends a request to the API, the message could have a specific format(EN: ... CZ:... DE:... )which is changed by the client.And it's not about one language. We want this to support multiple languages at once for out bots...
0 -
I think it should be a simple implementation too:
var userLang = navigator.language || navigator.userLanguage; //returns "pt-BR", "en-US", "fr"...1 -
This needs more views!!!
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
7 commentaires