A GNUSocial plugin to translate status on the fly with Yandex API
Diogo Cordeiro 84d2ad0338 [FORMAT] Run php-cs-fixer | 5 роки тому | |
---|---|---|
README.md | 5 роки тому | |
YandexTranslatePlugin.php | 5 роки тому | |
jquery.min.js | 5 роки тому |
This little plugin create a translate button at the end of each status on your timeline working with the Yandex API.
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