Hello fellow Quakers!

I would like to introduce to you my translate plugin.

What can it do?
- The plugin keeps a buffer of chat messages per player.
- The last N items a player has said can be translated into the language you want.
- Translate words or sentences in real time to converse with anyone on the server, no matter what language they do (or do not) speak.

Example usage:


Installation instructions (for server owners):
1. Make sure you have the latest QLDS and minqlx
2. Register for a Yandex account and request a free API key. This account can also be used to check the amount of translations are happening on your server.
3. Add the API key as a cvar in the server.cfg: set qlx_translate_api_key "OpieOP"
4. Add the translate plugin to the qlx plugin startup line
5. Load plugin (or restart server) and good to go!

Facts:
- An impressive number of 73 languages are supported by the Yandex translation API. For the languages and directions, I can link you here.
- This plugin cannot only improve communication among players themselves, but also provide a way for casters/spectators/enemies/teammates to follow up on the actions and conversations of other lingual players.

Example scenario:
ZLive is casting a 125fps sunday cup, and suddenly a Russian player stopped moving his mouse and is typing some things in chat. Instead of resorting to ask the chat if anyone know what is going on, they could find out with one simple command.

Small end note:
The translations are done via the Yandex translation API, since the Google Translate is not free.
All requests can only be done as good as the service is. Dialects and/or typos could cause the output to be the same as the input (i.e. unrecognized) or to not make much sense.

Hope you like this, install it and I would be delighted to see it in action on Sunday or just in general.

Best,
Iouonegirl


Edit1: format