[sdk/lokalize] src/languagetool: Fix for Invalid URL inside of Lokalize

Finley Watson <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 70a2013f16953bc91c41fe33be64eb08bd5e1075 by Finley Watson, on behalf of Jesus Quinones.
Committed on 02/08/2026 at 21:03.
Pushed by finw into branch 'master'.

Fix for Invalid URL inside of Lokalize

I changed the default URL for Lokalize as the URL has been changed. 

As seen in 

BUG: 522814

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

https://invent.kde.org/sdk/lokalize/-/commit/70a2013f16953bc91c41fe33be64eb08bd5e1075

diff --git a/src/languagetool/languagetoolmanager.cpp b/src/languagetool/languagetoolmanager.cpp
index f2ad35f01..67b99f24f 100644
--- a/src/languagetool/languagetoolmanager.cpp
+++ b/src/languagetool/languagetoolmanager.cpp
@@ -38,7 +38,7 @@ QNetworkAccessManager *LanguageToolManager::networkAccessManager() const
 
 QString LanguageToolManager::languageToolCheckPath() const
 {
-    return (Settings::self()->languageToolCustom() ? Settings::self()->languageToolInstancePath() : QStringLiteral("https://languagetool.org/api/v2"))
+    return (Settings::self()->languageToolCustom() ? Settings::self()->languageToolInstancePath() : QStringLiteral("https://api.languagetool.org/v2"))
         + QStringLiteral("/check");
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.