Sometimes we get tickets in languages other than English. To assist with this, I have added a translation widget to the back-end for the staff. Thanks to (FreeTranslation.com) for the neat widget.

In include/staff/viewticket.inc.php

before the very last tag add this code...

<div id="Translate" class="tabbertab" align="left">

<h2>Translate</h2>

<center><script src="http://www.freetranslation.com/text-translator/?width=450"></script></center>

</div>

</div>

This will add a tab to the bottom of the viewticket page that says "Translate". Staff can click the tab and paste in the foreign text for translation.

I think it would be neat if there were a button on each message that will automagically paste the contents of the message to the translation box. I'll work on that next.

blank

11 days later

Cool widget !!

Cannot wait untill you add the "auto paste " text...!!

Nice addon, check this text2speech widget (just for fun):

Text2speech

if (WIDGETBOX) WIDGETBOX.renderWidget('80a27d03-f400-404a-aea3-2dc62dd0e5dc');

:)

text2 speech.jpg

a month later

google

Sometimes we get tickets in languages other than English. To assist with this, I have added a translation widget to the back-end for the staff. Thanks to (FreeTranslation.com) for the neat widget.

In include/staff/viewticket.inc.php

before the very last tag add this code...

<div id="Translate" class="tabbertab" align="left">

<h2>Translate</h2>

<center><script src="http://www.freetranslation.com/text-translator/?width=450"></script></center>

</div>

</div>

This will add a tab to the bottom of the viewticket page that says "Translate". Staff can click the tab and paste in the foreign text for translation.

I think it would be neat if there were a button on each message that will automagically paste the contents of the message to the translation box. I'll work on that next.

blank

this works well for me but is there any way to use googles translate API ???

12 years later

I have the similar kind of requirements. My customers are mostly non english speakers (Chineese and Spanish) and I want the tickets to be translated to english when it comes to backend and also I want to save the tickets in database in english instead of (chineese and spanish). Can you help.

    atharshah

    This thread is 12 years old. Do not revive old dead threads. This mod will not work in the current releases.

    Cheers.

    5 days later

    Also as a side note many contemporary browsers (Chrome, Edge) allows you to translate without needing to do something like this.

    Write a Reply...