Get Started
Plugins
Macros
More information

Language tool

Description

Connects the LanguageTool assistant to check the text for grammar, style and spell errors.

Plugin type: visual, non-system.

Supported editors: documents, spreadsheets, presentations.

Analogue: Glavred.

LanguageTool
Installation

Download this plugin from GitHub and install it following the desktop, on-premises, or cloud installation instructions.

Usage
  1. Open the Plugins tab and press Languagetool.
  2. Select the necessary text or write it in the plugin window.
  3. The language is detected automatically, but you can also change it manually.
  4. Press the Check button.
  5. You will receive information about the stylistic and grammatical mistakes and tips for correcting them.
Plugin structure

Repository on GitHub: https://github.com/ONLYOFFICE/plugin-languagetool/tree/master.

  1. config.json, index.html and code.js
  2. Icons
  3. index_about.html for the plugin About window
  4. The translations folder contains translations into Russian, German, Spanish and French.
  5. plugin_style.css is used to adjust the plugin style.
  6. Third-party services:
Config
{
    "name": "LanguageTool",
    "guid": "asc.{7CDB02C9-A0BF-4B56-9A1A-71C860B8498F}",
    "version": "1.0",

    "variations": [
        {
            "description": "LanguageTool",
            "url": "index.html",

            "icons": [ "resources/img/icon.png", "resources/img/icon@2x.png", "resources/img/icon.png", "resources/img/icon@2x.png" ],
            "isViewer": true,
            "EditorsSupport": [ "word", "cell", "slide" ],

            "isVisual": true,
            "isModal": true,
            "isInsideMode": true,

            "initDataType": "text",
            "initData": "",

            "isUpdateOleOnResize": false,

            "buttons": [],

            "initOnSelectionChanged": true
        },
        {
            "description": "About",
            "descriptionLocale": {
                "ru": "Справка",
                "fr": "À propos",
                "es": "Sobre programa",
                "de": "Über"
            },
            "url": "index_about.html",

            "icons": [ "resources/img/icon.png", "resources/img/icon@2x.png", "resources/img/icon.png", "resources/img/icon@2x.png" ],
            "isViewer": false,
            "EditorsSupport": [ "word", "cell", "slide" ],

            "isVisual": true,
            "isModal": true,
            "isInsideMode": false,

            "initDataType": "none",
            "initData": "",

            "isUpdateOleOnResize": false,

            "buttons": [
                {
                    "text": "Ok",
                    "primary": true
                }
            ],

            "size": [ 400, 50 ]
        }
    ]
}
Methods and events

The main plugin code is located here.

Support

If you want to request a feature or report a bug regarding this plugin, use the issues section on GitHub.