Skip to content
forked from Awzaw/Translate

Real-time translation for PocketMine from any language to any language

Notifications You must be signed in to change notification settings

xxFLORII/Translate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

General

A PocketMine plugin to translate chat in real time using BING's free Translation API.

Microsoft allow up to 2 million characters per month for free, beyond that you will be asked to upgrade from the FREE AZURE subscription, or disable the plugin until your quota is reset.

Installation

First get an API key: full instructions here http:https://docs.microsofttranslator.com/text-translate.html You'll need to create an AZURE account, prove your identity using a Credit Card (NOT FOR PAYMENT) and follow the steps to get an API key.

Next, drop the .phar file into your plugins folder, restart the server, then enter your API-Key between the quotes in the config.yml that was created in the 'plugins/Translate' folder. Restart again, and you should be up and running.

Language Codes

"ar, de, en, fi, fr, he, id, it, ja, ko, es, ru"

For the complete list please see https://msdn.microsoft.com/en-us/library/hh456380.aspx

Examples

/translate or /tra to start translation into the default server language

Type /tra fr to start translation into french

Type /tra again to turn off translation

Type /tra list to list available language codes

Commands

/translate (/tra) [language code] : toggles translation on/off to a language

/translate list | help : list available language codes

Permissions

translate

defaults to all players, use negative permission to forbid usage

About

Real-time translation for PocketMine from any language to any language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • PHP 100.0%