This is a chat translation service that ties into Microsoft Azure Data Translation Service, aka Bing Translate.
Commands:
/language <PlayerOrSource> <Language>
- Sets a language for a user, overrides default minecraft locale for translator./reloadtranslate
- reloads the configuration file.
Permissions:
translate.command.languageoverride
- Permission to use the /language command, defaults to true for User role.translate.command.reload
- Permission to use /reloadtranslate command. defaults to true for Admin role.
Config:
Lets you disable the warning sent to users that translations may not be 100% accurate.
SendWarningOnJoin = true
Installation:
In order to use it just copy it to the mods directory on your Sponge server, and sign up for an API key. (Free tier is 2Million characters a month).
On first run it will generate a config file, which must be filled out with the ClientID and ClientSecret you obtained from Microsofts Data Azure Marketplace.
e.g.
#Get your Client ID and Client Secret by signing up for Microsofts Translator Service, Free tier = 2M characters a month.
#https://msdn.microsoft.com/en-us/library/mt146806.aspx
ClientID = "MySpongeyServer"
ClientSecret = "IDQy/Ud4iX7YtRuifXBzh+osnUwsLLk/2KvmQljX21Y="
Ore: https://ore-staging.spongepowered.org/ryantheleach/TranslateWithBing/
Issues: Issues · RTLSponge/TranslateWithBing · GitHub
Download: Releases · RTLSponge/TranslateWithBing · GitHub
Screenshots:
Changelog:
v1.2.0
New config option: SendWarningOnJoin = true
Added Sponge reload command support.
Updated for SpongeAPI 4.1.0
v1.1.2
Now built for sponge 4.x
v1.1.1
Added a command to reload the config, now tells user the error if an error occurred while setting their language.
v1.0.3
Fixed an issue where TranslateWithBing was ignoring the players override language setting with the command.
v1.0.2
Updated minor version, no features added, but it now no longer needs the libraries it uses on the classpath as it includes them for you in the jar.