Bug 458681 - LanguageTool integration no longer works
Summary: LanguageTool integration no longer works
Status: RESOLVED FIXED
Alias: None
Product: lokalize
Classification: Applications
Component: editor (other bugs)
Version First Reported In: 22.08.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Simon Depiets
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-03 23:31 UTC by Ilya Bizyaev
Modified: 2024-06-03 22:00 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ilya Bizyaev 2022-09-03 23:31:33 UTC
SUMMARY
I used to be able to specify my LanguageTool server in the Settings window and get Lokalize to check the translations using it, but with the recent versions I no longer get any LanguageTool hints.


STEPS TO REPRODUCE
1. Run a self-hosted LanguageTool instance: https://dev.languagetool.org/http-server.html
2. Specify it in the Lokalize settings: http://localhost:8081/v2
3. Type a sentence that has problems reported by LanguageTool in other editors, e.g. VSCode

OBSERVED RESULT
Nothing happens

EXPECTED RESULT
Lokalize reports problems detected by LanguageTool

SOFTWARE/OS VERSIONS
Operating System: openSUSE Leap 15.4
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Graphics Platform: X11
Comment 1 Bug Janitor Service 2024-06-03 21:54:18 UTC
A possibly relevant merge request was started @ https://invent.kde.org/sdk/lokalize/-/merge_requests/101
Comment 2 Christoph Cullmann 2024-06-03 21:59:46 UTC
Git commit 0c769b98b8f808b6ac16c1a02a9bb9103b86cfb4 by Christoph Cullmann, on behalf of Albert Astals Cid.
Committed on 03/06/2024 at 21:57.
Pushed by aacid into branch 'master'.

Fix language tool not working

Regressed on 2ad5aa0e03b7bc66b46f027db1527a1ea7bce5ea

CCMAIL: schwarzer@kde.org

M  +1    -1    src/languagetool/languagetoolresultjob.cpp

https://invent.kde.org/sdk/lokalize/-/commit/0c769b98b8f808b6ac16c1a02a9bb9103b86cfb4
Comment 3 Albert Astals Cid 2024-06-03 22:00:32 UTC
Git commit fff48e0cc6eef46330b6ec17511993af27735d89 by Albert Astals Cid.
Committed on 03/06/2024 at 22:00.
Pushed by aacid into branch 'release/24.05'.

Fix language tool not working

Regressed on 2ad5aa0e03b7bc66b46f027db1527a1ea7bce5ea

CCMAIL: schwarzer@kde.org
(cherry picked from commit 0c769b98b8f808b6ac16c1a02a9bb9103b86cfb4)

M  +1    -1    src/languagetool/languagetoolresultjob.cpp

https://invent.kde.org/sdk/lokalize/-/commit/fff48e0cc6eef46330b6ec17511993af27735d89