OS X El Capitan 10.11.6
TeXstudio 2.12.6 with LanguageTool-3.8, Language: de-DE
which java: /usr/bin/java
JAVA: java -version
java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)
Echzeitprüfungen sind aktiviert. (Real-time tests are activated.)
Grammatikprüfungen sind aktiviert. (Grammar checks are enabled.)
Versucht es automatisch zu starten. (Try to start it automatically.)
Aktueller Status von LT:arbeitet (Current status of LT: works)
LT-URL: http://localhost:8081/v2/check
LT grammar is working. It works with the standalone (gui) version and I checked it with:
curl -X POST --header 'Content-Type: application/x-www-form-urlencoded' --header 'Accept: application/json' -d 'text=in%20die%20k%C3%BCche%20steht%20der%20Tsch.&language=de-DE&motherTongue=de&enabledOnly=false' 'http://localhost:8081/v2/check'
Spelling errors are marked in the editor, but grammar errors do not.
For days I've been trying every suggestion from the Internet, but without success.
On a Windows 10 computer with the same configuration everything works.
In addition, I would like to add that the spelling check also does not work. What I see in the OS X installation is the internal spelling check of TexStudio. In the Windows installation, I changed the display of the spelling errors and found that LT also displays spelling errors.
Problem solved.
On OS X I work with the de_DE_frami dictionary.
When I switch to TeXstudio de_DE dictionary, then LT works.
I use the de_DE_frami dictionary because it has almost twice as many words as the de_DE dictionary of TeXstudio.
The solution is that the de_DE dictionary files are deleted and the de_DE_frami.x files are renamed to de_DE.x.
Thanks! Thats exactly what i was searching for. After hours of testing and trying several LT Versions, i finally got LT working correctly!
Last edit: aaa 2017-08-27
good to hear that this is solved.
txs takes the language code from the spell checker and passes it to LT.
Obviously LT does not know anything about de_DE_frami.
I just found out that LT uses internally de_DE_frami and does what I have suggested: LT renames de_DE_frami files in de_DE files.
Obviously, when using LT, the spelling check is performed twice. Once from TXS and once from LT. This does not seem to me a good idea.
In addition, supplements to the de_DE.ign file are only accepted by TXS, but not by LT. These changes must be copied manually into the files ingnore.txt or spelling.txt.
Since LT runs on my OS X notebook, I have significantly more program crashes.
Can confirm this. I also think it would be usefull if there would be a loading circle if LT is checking the text. I opened a large tex document and first thought LT is not working and then i saw that my CPU temps and fans are spinning up. So LT needed some seconds to process the very long text.