Google Translator on topics


Subject: Google Translator on topics
This addition will insert a form on your posting body that will translate text into different languages.

Open posting_body.tpl

Find:
Code: [Download] [Hide] [Select]
<tr>
<td class="cat" colspan="2">
{S_HIDDEN_FORM_FIELDS}
<input type="submit" tabindex="7" name="preview" class="liteoption" value="{L_PREVIEW}" />&nbsp;
<input type="submit" accesskey="s" tabindex="8" name="post" class="mainoption" value="{L_SUBMIT}" />
</td>
</tr>
</table>


Replace With:
Code: [Download] [Hide] [Select]
<tr>
<td class="cat" colspan="2" height="28">
{S_HIDDEN_FORM_FIELDS}
<input type="submit" tabindex="5" name="preview" class="mainoption" value="{L_PREVIEW}" />&nbsp;<input type="submit" accesskey="s" tabindex="6" name="post" class="mainoption" value="{L_SUBMIT}" />
</td>
</tr>
</form>
<tr>
<td class="row1" colspan="2" height="28"> <form action="http://translate.google.com/translate_t" target="_blank" method=post>
<div align="center">
<br />
&nbsp;&nbsp;<span class="genmed"><b>Traduci Testo - Translate text:</b></span><br />
&nbsp;&nbsp;
<textarea name=text rows=5 cols=65 wrap=VIRTUAL></textarea>
<br />
&nbsp;&nbsp;<span class="gensmall">da - from</span>
<select name=langpair>
<option value="en|de" selected>English to German</option>
<option value="en|es">English to Spanish</option>
<option value="en|fr">English to French</option>
<option value="en|it">English to Italian</option>
<option value="en|pt">English to Portuguese</option>
<option value="de|en">German to English</option>
<option value="de|fr">German to French</option>
<option value="es|en">Spanish to English</option>
<option value="fr|en">French to English</option>
<option value="fr|de">French to German</option>
<option value="it|en">Italian to English</option>
<option value="pt|en">Portuguese to English</option>
</select>
<input type=hidden name=hl value="en">
<input type=hidden name=ie value="UTF-8">
<input type=hidden name=ie value=UTF-8>
<input type=hidden name=oe value=UTF-8>
<input type=submit value="Traduci - Translate" class="mainoption">
</div>
</form></td>
</tr></table>


translatesq4.th

Subject: Re: Google Translator on topics
Thanks ;)
Moved to customizations

Subject: Re: Google Translator On Topics
How i can put this mod in the quick answer mod in my forum????

Subject: Re: Google Translator On Topics
here http://www.ithemes.eu/index.php

Subject: Re: Google Translator On Topics
muratti wrote: [View Post]
here http://www.ithemes.eu/index.php


i visit : http://www.ithemes.eu/dload.php?action=category&cat_id=5 and i can·t found that mod

Subject: Re: Google Translator On Topics
In the downloads of IcyPhoenix MOD's aren't this MOD :( please check

Subject: Re: Google Translator On Topics
JHOSMAN wrote: [View Post]
In the downloads of IcyPhoenix MOD's aren't this MOD :( please check


is only edit one file:

/templates/mg_theme/posting_body.tpl

and make the modification of are explain in the first post

sorry for my bad english ;)


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.1809s (PHP: 10% SQL: 90%)
SQL queries: 10 - Debug Off - GZIP Enabled