ONLYOFFICE / sdkjs-plugins

The add-ons for ONLYOFFICE Document Server and ONLYOFFICE Desktop Editors.
https://www.onlyoffice.com
Apache License 2.0
136 stars 134 forks source link

Translation through Yandex doesn't work anymore because API limit reached. #63

Open e-alfred opened 5 years ago

e-alfred commented 5 years ago

What is the current behavior?

Try to translate text through the plugin "translate".

What is the expected behavior?

Translation should work, instead [translator] : Maximum monthly translated text volume exceeded is shown in the browser console:

GET https://server/5.3.0-243//sdkjs-plugins/translate/translations/de-DE.json 404
u.plugin_onMessage @ VM629:1
onMessage @ VM601 pluginBase.js:497
postMessage (async)
we @ sdk-all.js:9747
h @ sdk-all.js:9731
postMessage (async)
u.plugin_sendMessage @ VM629:1
(anonymous) @ VM629:1
(anonymous) @ VM629:1
onMessage @ VM601 pluginBase.js:514
postMessage (async)
h @ sdk-all.js:9733
postMessage (async)
xhr.onload @ VM601 pluginBase.js:484
load (async)
window.onload @ VM601 pluginBase.js:443
load (async)
(anonymous) @ VM601 pluginBase.js:435
(anonymous) @ VM601 pluginBase.js:561
VM602 translate.js:111 POST https://translate.yandex.net/api/v1.5/tr.json/getLangs?key=trnsl.1.1.20160604T115612Z.107ebb05a7757bcc.804e900f347ddfbeadd7ca5999bd5cb6ca32805b&ui=en 403 (Forbidden)
getLanguagesSupport @ VM602 translate.js:111
window.Asc.plugin.init @ VM602 translate.js:298
u.plugin_onMessage @ VM629:1
onMessage @ VM601 pluginBase.js:497
postMessage (async)
we @ sdk-all.js:9747
h @ sdk-all.js:9731
postMessage (async)
u.plugin_sendMessage @ VM629:1
(anonymous) @ VM629:1
(anonymous) @ VM629:1
onMessage @ VM601 pluginBase.js:514
postMessage (async)
h @ sdk-all.js:9733
postMessage (async)
xhr.onload @ VM601 pluginBase.js:484
load (async)
window.onload @ VM601 pluginBase.js:443
load (async)
(anonymous) @ VM601 pluginBase.js:435
(anonymous) @ VM601 pluginBase.js:561
VM602 translate.js:104 [translator] : Maximum monthly translated text volume exceeded