A GNUSocial plugin to translate status on the fly with Yandex API

kim 1613329751 Merge branch 'master' of diogo/YandexTranslate into master 5 年之前
README.md 3f4e5022ad fire translaione onclick 5 年之前
YandexTranslatePlugin.php 84d2ad0338 [FORMAT] Run php-cs-fixer 5 年之前
jquery.min.js 22768a99f7 first commit 5 年之前

README.md

YANDEX TRANSLATE GNUSOCIAL PLUGIN

This little plugin create a translate button at the end of each status on your timeline working with the Yandex API.

CONFIG

Add to the config.php file this lines

$config['site']['yandex']['api_key'] = ''; //Your Yandex API key
$config['site']['yandex']['lang'] = ''; //the shortcode of the desired language, ex. es for spanish
addPlugin('YandexTranslate'); // Activate Plugin