Sometimes comments are posted to my site that are written in a language other than the site's default: English. I would like to be able to add a link (a form submit button to Google actually) that would return a machine translation of the comment posted on my site.
I tried doing this by simply editing the comment to include the correct form element but unfortunately when MT rebuilt the page the sanitize filter stepped in and removed the critical form elements.
This is expected (and desired) behavior when a user submits a comment to my site but when I submit a comment to the site I would like to be able to over-ride the sanitize feature so as to add interesting comment related features.
What do you think? Is there a way to accomplish this currently? Would it be possible with a plug-in? How about another way of accomplishing my translation goal?
Thanks in advance for your help,
Shmuel