- changed status to open
Bilingual checks in LanguageTool in CheckMate are broken
Original [issue 229](https://code.google.com/p/okapi/issues/detail?id=229) created by marcin.milkow... on 2012-05-13T14:20:28.000Z:
What steps will reproduce the problem? 1. Check the check box "Use bilingual mode" under LanguageTool tab in the Edit Configuration window. 2. Perform check. 3. You will get the message:
Error with LanguageTool server. All LT checks are skipped from this text unit on. Server returned HTTP response code: 500 for URL: http://localhost:8081/?
I pasted the URL to the browser and found out the reason: CheckMate does not specify the source language in the HTTP request. LT complains this way:
Error: java.lang.IllegalArgumentException: Missing 'motherTongue' for bilingual checks
What version of the product are you using? On what operating system?
Okapi 0.16, Win7, Java 1.7
Please provide any additional information below.
Comments (4)
-
Account Deleted -
Account Deleted Comment [2.](https://code.google.com/p/okapi/issues/detail?id=229#c2) originally posted by @ysavourel on 2012-05-13T23:03:31.000Z:
The fix is now in the snapshots (http://okapi.opentag.com/snapshots/)
-
Account Deleted Comment [3.](https://code.google.com/p/okapi/issues/detail?id=229#c3) originally posted by marcin.milkow... on 2012-05-14T17:44:15.000Z:
Ok, now it works fine :)
-
Account Deleted - changed status to resolved
Comment [4.](https://code.google.com/p/okapi/issues/detail?id=229#c4) originally posted by @ysavourel on 2012-05-14T18:49:41.000Z:
Thanks for the feedback and check.
- Log in to comment
Comment [1.](https://code.google.com/p/okapi/issues/detail?id=229#c1) originally posted by @ysavourel on 2012-05-13T20:38:04.000Z:
I've added &motherTongue=xx to the URL call. So now the call is for example: ?language=fr&text=texte&srctext=text&motherTongue=en
This will be in the next snapshot.