Get Started
Plugins
Macros
More information
|
TranslatorDescription
Connects the Google Translate API for translating the selected text into other languages. Plugin type: visual, non-system. Supported editors: documents, spreadsheets, presentations. ![]() Installation
Available by default in the cloud, on-premises and desktop versions of ONLYOFFICE editors. You can remove it following the desktop, on-premises, or cloud installation instructions. The plugin guid: {7327FC95-16DA-41D9-9AF2-0E7F449F6800}. Usage
Plugin structure
Repository on GitHub: https://github.com/ONLYOFFICE/onlyoffice.github.io/tree/master/sdkjs-plugins/content/translator.
Config
{ "name": "Translator", "nameLocale": { "ru": "Переводчик", "fr": "Traducteur", "es": "Traductor", "de": "Übersetzer" }, "guid": "asc.{7327FC95-16DA-41D9-9AF2-0E7F449F6800}", "version": "1.0.1", "variations": [ { "description": "Translate the selected text into other languages with Google Translate.", "descriptionLocale": { "ru": "Переводите слова, предложения и абзацы на другие языки с помощью Google Translate.", "fr": "Traduisez le texte sélectionné dans d'autres langues avec Google Translate.", "es": "Traduzca el texto seleccionado a otros idiomas con el Traductor de Google.", "de": "Übersetzen Sie den ausgewählten Text in andere Sprachen mit Google Translate." }, "url": "index.html", "icons": [ "resources/img/icon.png", "resources/img/icon@2x.png" ], "icons2": [ { "100%": { "normal": "resources/img/icon.png" }, "125%": { "normal": "resources/img/icon@1.25x.png" }, "150%": { "normal": "resources/img/icon@1.5x.png" }, "175%": { "normal": "resources/img/icon@1.75x.png" }, "200%": { "normal": "resources/img/icon@2x.png" } } ], "screens": ["resources/store/screen_1.png"], "isViewer": true, "EditorsSupport": [ "word", "cell", "slide" ], "isVisual": true, "isModal": false, "isInsideMode": true, "initDataType": "text", "initOnSelectionChanged": true, "store": { "background": { "light": "#F5F5F5", "dark": "#444444" }, "screenshots" : ["resources/store/screenshots/screen_1.png"], "icons" : { "light" : "resources/store/icons", "dark" : "resources/store/icons" } } } ] } Methods and events
Support
If you want to request a feature or report a bug regarding this plugin, use the issues section on GitHub. |