How to Install LanguageTool on Your Synology NAS

How to Install LanguageTool on Your Synology NAS

LanguageTool is an Open Source proofreading software for English, French, German, Polish, and more than 20 other languages. It finds many errors that a simple spell checker cannot detect. It will detect the errors only when text fields are available. In this step by step guide I will show you how to install LanguageTool on your Synology NAS using Docker.

  • STEP 1

Please Support My work by Making a Donation.

  • STEP 2

Install Docker via Synology “Package Center”.

Install Docker Synology DSM 7

  • STEP 3

Go to File Station and open the docker folder. Inside the docker folder, create one new folder and name it languagetool. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

LanguageTool Synology NAS Set up 1

  • STEP 4

Download the .zip grammatical data from the blue link below, then choose your language. I have chosen the English .zip file which is more than 8GB.

Download Data

  • STEP 5

Using drag and drop, upload the .zip file you have previously downloaded at STEP 4 in the languagetool folder that you have created at STEP 3.

LanguageTool Synology NAS Set up 2

  • STEP 6

Right click on the .zip file and extract it in the languagetool folder. Follow the instructions in the image below.

LanguageTool Synology NAS Set up 3

  • STEP 7

After the extraction is complete, you can delete the .zip file. Right click on the .zip file then delete. Follow the instructions in the image below.

LanguageTool Synology NAS Set up 4

  • STEP 8

Go to Control Panel / Task Scheduler / Create / Scheduled Task / User-defined script. Follow the instructions in the image below.

LanguageTool Synology NAS Set up 5

  • STEP 9

Once you click on User-defined script, a new window will open. Follow the instructions below:

  1. General: In the Task field type in Install LanguageTool. Uncheck the “Enabled” option. Select root User.
  2. Schedule: Select Run on the following date then select “Do not repeat“.
  3. Task Settings: Check “Send run details by email“, add your email then copy paste the code below in the Run command area. After that, click OK.
docker run -d --name=languagetool \
-p 8010:8010 \
-e langtool_languageModel=/ngrams \
-e Java_Xms=1g \
-e Java_Xmx=1g \
-v /volume1/docker/languagetool:/ngrams \
--restart always \
--net=host \
erikvl87/languagetool

LanguageTool Synology NAS Set up 6

  • STEP 10

After you click OK on STEP 9 a new warning pop up window will open. Click OK.

LanguageTool Synology NAS Set up 7

  • STEP 11

After you click OK on STEP 10, select your “Install LanguageTool” Task then click the “Run” tab. You will be asked to run Install LanguageTool – click Yes. Follow the instructions in the image below.

LanguageTool Synology NAS Set up 8

  • STEP 12

Download the chrome extension for LanguageTool by clicking the blue link below. Click Add to Chrome. Follow the instructions in the image below.

Download LanguageTool Chrome Extension

LanguageTool Synology NAS Set up 9

  • STEP 13

After you click Add to Chrome at STEP 12 a new pop up window will open. Click Add extension. Follow the instructions in the image below.

LanguageTool Synology NAS Set up 10

  • STEP 14

After you click Add extension at STEP 13 a new page will open. Click “Okay, got it“. Follow the instructions in the image below.

LanguageTool Synology NAS Set up 11

  • STEP 15

Click Close. Follow the instructions in the image below.

LanguageTool Synology NAS Set up 12

  • STEP 16

You should find the LanguageTool icon at the top right of your browser page. Click the gear icon. Follow the instructions in the image below.

LanguageTool Synology NAS Set up 13

  • STEP 17

On the General settings area activate the “Picky mode” then scroll down the page a little bit. Follow the instructions in the image below.

LanguageTool Synology NAS Set up 14

  • STEP 18

Choose your Favorite language, in my case “English“. Scroll down the page a little bit. Follow the instructions in the image below.

LanguageTool Synology NAS Set up 15

  • STEP 19

Go back to STEP 1 or you will deal with karma 🙂

  • STEP 20

On the Advanced settings area choose the LanguageTool API server URL and add your NAS Local IP followed by :8010/v2. So http://yourNASIP:8010/v2 then click Save. Follow the instructions in the image below.

LanguageTool Synology NAS Set up 16

  • STEP 21

From this point on LanguageTool will automatically find all the errors on your page provided there is a text field. Take a look at the image below to see LanguageTool at work.

LanguageTool Synology NAS Set up 17

Enjoy LanguageTool!

Note: Can I run Docker on my Synology NAS? See the supported models.
Note: Find out how to update the LanguageTool container with the latest image.
Note: How to Free Disk Space on Your NAS if You Run Docker.
Note: How to Schedule Start & Stop For Docker Containers.
Note: How to Activate Email Notifications.
Note: How to Add Access Control Profile on Your NAS.
Note: How to Change Docker Containers Restart Policy.
Note: How to Use Docker Containers With VPN.
Note: Convert Docker Run Into Docker Compose.
Note: How to Clean Docker.
Note: How to Clean Docker Automatically.
Note: Best Practices When Using Docker and DDNS.
Note: Some Docker Containers Need WebSocket.

This post was updated on Friday / August 26th, 2022 at 10:31 AM