Back to LanguageTool Homepage - Privacy - Imprint

Output suggestions on Error


(Ramel) #1

Hi! I am trying to integrate language tool in my website. It works just fine. I followed all the procedures from this link, http://wiki.languagetool.org/integration-on-websites and potential errors on submitted text will be underlined.

But, how can I output all the suggestions in every error. Just like what we can see in the home page?


(Daniel Naber) #2

This depends on how you integrate LT... basically you just need to interpret the 'replacements' attribute of the XML. When you're following the instructions on our wiki that should happen automatically. If it doesn't, could you post the link to your site?


(Ramel) #3

Thanks for the reply Sir! I am quite sure that I followed the instructions from your wiki. Here's the link of my site.
http://www.grammarcheckeronline.com


(Daniel Naber) #4

There was a code snippet missing in our Wiki, I have just updated the page. You will need to add this to your page:



     languagetool_i18n_rule_implementation : {
         // "Rule implementation":
         "de-DE": "Implementierung der Regel"
     },

(Ramel) #5

It works! Thank you very much Sir dnaber.