PDA

View Full Version : Translation 'hack'


John
Sun 23rd Apr '00, 11:15am
Thanks to Brian Palik for this.

Add this somewhere in the showthread template:


<center>
<FORM NAME="systran" ACTION="http://translator.go.com/" METHOD=POST>
<input type="hidden" name="input_type" value="url">
<input type="hidden" name="url" value="$bburl/showthread.php?threadid=$threadid&pagenumber=$pagenumber">
<FONT SIZE="2" FACE="arial, helvetica"><b>Translate This Page</b></font>
<BR>
<SELECT NAME="lp" >
<OPTION VALUE="en_sp" selected> English to Spanish
<OPTION VALUE="en_fr"> English to French
<OPTION VALUE="en_ge"> English to German
<OPTION VALUE="en_it"> English to Italian
<OPTION VALUE="en_pt"> English to Portuguese
</SELECT> <INPUT TYPE="submit" VALUE="Translate"><br>
<FONT SIZE="2" FACE="arial, helvetica">Powered by <a href="http://www.systransoft.com/english/products/personal/go_personal.html">Systran</a> Translation Software</font></form>
</center>

Menno
Sun 23rd Apr '00, 4:57pm
Wouldn't this fall under the code hacking forum?

Stallion
Mon 24th Apr '00, 9:54am
Considering that there's no code editing involved? No.

I have a feeling most of the common UBB hacks can be done through templates (as is with OpenTopic, if you would believe it yourself)

Stallion
Mon 24th Apr '00, 9:54am
I'm planning on making a spiffy new version of the hack which will translate individual posts instead.

JonnyQuest
Mon 24th Apr '00, 10:32am
Can I see this anywhere...?

John
Tue 25th Apr '00, 12:29am
Have a look here:

http://www.elitecaraudio.com/forums/showthread.php?threadid=2129

(This is Brian's board using basically the same code)

bsousa
Sun 5th Sep '04, 9:17pm
Thanks to Brian Palik for this.

Add this somewhere in the showthread template:


<center>
<FORM NAME="systran" ACTION="http://translator.go.com/" METHOD=POST>
<input type="hidden" name="input_type" value="url">
<input type="hidden" name="url" value="$bburl/showthread.php?threadid=$threadid&pagenumber=$pagenumber">
<FONT SIZE="2" FACE="arial, helvetica"><b>Translate This Page</b></font>
<BR>
<SELECT NAME="lp" >
<OPTION VALUE="en_sp" selected> English to Spanish
<OPTION VALUE="en_fr"> English to French
<OPTION VALUE="en_ge"> English to German
<OPTION VALUE="en_it"> English to Italian
<OPTION VALUE="en_pt"> English to Portuguese
</SELECT> <INPUT TYPE="submit" VALUE="Translate"><br>
<FONT SIZE="2" FACE="arial, helvetica">Powered by <a href="http://www.systransoft.com/english/products/personal/go_personal.html">Systran</a> Translation Software</font></form>
</center>



Any update on how to make this work in 3.0.3? :D

bsousa
Mon 6th Sep '04, 10:52am
Not a lot of straight HTML in the 303 showthread.php file...can anyone show me how I can implement this translation hack here? :confused:

Chroder
Mon 6th Sep '04, 12:30pm
It is a template hack, not a code hack.

bsousa
Tue 7th Sep '04, 9:20am
So can you tell me how it would work then? :D