Vectron Translate
Vectron Translate
Description
Ever had players on your server who were speaking god-knows-what-language and you could not understand them? Vectron Translate allows you to set your language and then receive translations (using the Microsoft Bing Translator) when someone speaks in a language that is not your own.
Example Chat:
Permissions
- vectron.translate - Allows you to receive translations and use the /translate command and associated sub-commands. By default, all users have English set as their language.
Added in V0.2.2/0.3
- vectron.getlanguage - Gives access to /getlang (see below commands list).
- vectron.languages - Gives access to /languages (see below commands list).
- vectron.reload- Allows user to run /vectron reload.
Commands
- /translate - Allows you to check your current set language.
- /translate [language] - Allows you to set your language (e.g. /translate french would set your language to French).
- /translate off - Allows you to disable translations if you no longer wish to receive them. Can be re-enabled by setting your language.
Added in V0.2.2/0.3
- /translate text [text] - Translates [text] from auto-detected language into your set language (/translate text unas gatos returns "some cats")
- /getlang [player] - Gets the language of [player].
- /languages - Shows a list of supported languages in your language, or English if you have disabled translations.
- /vectron reload - Reloads the plugin config.
Setup
To use Vectron Translate, you will need to complete the 10 simple steps outlined on the Setup page. Failing to do this will mean you can't use the plugin as intended.
Configuration
- Client-ID - The Microsoft Translator Client-ID (EXPLAINED IN SETUP).
- Client-Secret - The Microsoft Translator Secret-Key (EXPLAINED IN SETUP).
Planned
- Automatically set language based on IP of user.
Sets based on locale, so technically added. - UUID support (for name changing in future).
Added.
News:
I have setup a bitbucket repo for the plugin, so if anyone wants to fix the bugs, or write new features, feel free to do so. When you're done, submit a pull request and once a week I'll compile the changes and submit the new jar to bukkit.
If you enjoy this plugin, please consider donating some amount to show your appreciation and buy me a cup of coffee ;)
Nice it works on bukkit/spigot 1.8
@BAI1
when first-join players join the server, it will re-enable
It's was a nice update!
But when a new player join the server, the translator will turn back on and show the message. It will be great if this problem can be fixed :)
Chinese and Malay don't work...
Don't give up onthis one, it seems very nice
also is serbian included as a language?
Still developing this?
Can't select language. Please help!
Great Stuff can't wait till you have the IP adress thing working its hard for me and my staff to tell the people how to set it to there language
Awesome. I love it. i am definitely going to use it. I love having international people on my server, but I am not even bilingual.
Also this http://puu.sh/2fqqp
Whenever they sat Kumusta it shows up.
I wish there was a /translate reload command...
@Rpgminecraft
Same problem.
Well I have set it up properly (No errors), /translate command works, yet I do not get the translations in chat....
Id do sometimes get : "ArguementOutOfRangeException: 'from' must be a valid language" in Lt. Blue
How can I suppress this message?
does this work for tekkit classic?
Can you add a sign support?
@linwetalion
That is exactly how this works currently ;)
I wonder how this could be upgraded for international servers.. E.g. player have to chose his language group (the language he usually speaks in chat), e.g. I log in and select English. Arabian guy logs in and select arabic, etc. Then when they see all the rest languages in chat, they get them translated to those they selected in the beginning. So everybody understands everyone.
Can i ask for anyone to give an example of how the config should look like?
@ray73864
Aye, that is most likely never to go away (happens when you input text it cannot determine the language of, such as lawlz.) I'll be removing the output of the error message in the next version.
ok, so that evil 'from' error message is back:
geironul (translated) : ArgumentOutOfRangeException: 'from' must be a valid language
Parameter name: from: ID=0818.V2_Json.Translate.204E89F5
My /translate is set to 'en', geironul's /translate is set to 'en'.