vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   [Beta Release] VB2 TranslateIT V1 (https://vborg.vbsupport.ru/showthread.php?t=26523)

Dave# 08-26-2001 10:00 PM

What it does: Translates threads on the fly into french german Italian or portugese

demo here

Caveats You must register your domain with systran for this to work register your domain

If you want to use the translation feature for more than justa demo then you will need to pay systran


code

In showthread.php find the second instance of

Quote:

<!-- first unread and next/prev -->
and add directly below

Quote:



<!-- Altavista Transtation addon -->
<!-- Begin SystranLinks Button -->
<table border=0 cellspacing=0 cellpadding=0>
<FORM ACTION='http://w4.systranlinks.com/trans' METHOD=POST target='_self'>
<tr>
<td align='right'>
<INPUT TYPE=SUBMIT VALUE='Translate to' style='font-size:8pt;font-family:arial;color:000000;'>
<input type=hidden value="http://www.yourdomain.com/forums/showthread.php?threadid=$threadid" name="urltext">
<SELECT style='font-size:8pt;font-family:arial;color:000000;' name=lp>
<OPTION selected value='en_fr'>French</OPTION>
<OPTION value='en_de'>German</OPTION>
<OPTION value='en_it'>Italian</OPTION>
<OPTION value='en_pt'>Portuguese</OPTION>
<OPTION value='en_es'>Spanish</OPTION>
</SELECT><br>
<br>
<!-- DNR --><a href='http://www.systransoft.com/t.cgi/SystranLinks;LOGO88x31'><img src='http://www.systransoft.com/Img/pbysystran88x31.gif' border='0' width='88' height='31'></a><!-- /DNR -->
</td>
</tr>
</FORM>
</table>
<!-- End SystranLinks Button -->
<!-- End Altavista Transtation addon -->
Make sure you change http://www.yourdomain.com/forums/ to the correct url.

I'll tidy this up later :)

Afterburner 08-27-2001 03:19 AM

I tried your demo - it doesn´t work
I got the page from the service and it said click on the button to translate, after clicking 10 times I gave up

The Realist 08-27-2001 03:21 AM

Same here ;-(

orca 08-27-2001 05:48 AM

Just a question: Did you register with systran as mentioned? May this causes the error you got (just guessing, I don't use it).


All times are GMT. The time now is 12:28 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01004 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete