MiraWaNeko / DiscordIntegration

Communicate between Minecraft and Discord
https://discordintegration.net
GNU Affero General Public License v3.0
88 stars 42 forks source link

[Suggestion] Localization support #168

Open Crimento opened 5 years ago

Crimento commented 5 years ago

By default mod sending ingame messages (like deaths or achievements) using en-US locale, but my server is mostly russian. Is there any way to implement sending those messages in different languages? Config file or something like that. Minecraft server itself doesn't have any locale settings.

Mijago commented 5 years ago

You can already do this, the configuration json gives you a bunch of settings for all the messages. See minecraft.dimensions.generic.messages.

Crimento commented 5 years ago

Not exactly. You can translate **{USER}** just died due to {REASON}! to "**{USER}** умер ({REASON})" But in Discord channel it still would be like Crimento умер (was disintegrated)) instead of Crimento умер (распался)

Minecraft server itself doesn't have any locale settings so it's purely on clientside. Same with achievements/description