This is a chat translation service that ties into Microsoft Azure Data Translation Service, aka Bing Translate.
/language <PlayerOrSource> <Language>- Sets a language for a user, overrides default minecraft locale for translator.
/reloadtranslate- reloads the configuration file.
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.
Lets you disable the warning sent to users that translations may not be 100% accurate.
SendWarningOnJoin = true
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.
#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="
New config option: SendWarningOnJoin = true
Added Sponge reload command support.
Updated for SpongeAPI 4.1.0
Now built for sponge 4.x
Added a command to reload the config, now tells user the error if an error occurred while setting their language.
Fixed an issue where TranslateWithBing was ignoring the players override language setting with the command.
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.