vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Free Thread Translator (https://vborg.vbsupport.ru/showthread.php?t=34110)

Tim Wheatley 02-02-2002 05:06 AM

Sorry here it is cleaned up:

Code:

<table cellpadding="0" cellspacing="0" border="0">
<tr><td>
    <font face="Verdana,Arial" size="1">
    <b>Translate thread:</b></font>
<FORM name=texur action=http://www.tranexp.com:2000/InterTran method=post><input onblur=dudeurl() type="hidden" name="url" value="http://forum.racesimcentral.com/showthread.php?threadid=$threadid"><SELECT name=from style="font-family: Verdana, Arial; font-size: 8pt" size="1">
<OPTION value=eng selected>English
<OPTION value=spa>Spanish
<OPTION value=fre>French
<OPTION value=ger>German
<OPTION value=ita>Italian
<OPTION value=poe>Portuguese
<OPTION value=pob>Brazilian Portuguese
<OPTION value=cro>Croatian (CP 1250)
<OPTION value=che>Czech (CP 1250)
<OPTION value=dan>Danish
<OPTION value=dut>Dutch
<OPTION value=spe>European Spanish
<OPTION value=fin>Finnish
<OPTION value=grk>Greek
<OPTION value=hun>Hungarian (CP 1250)
<OPTION value=ice>Icelandic
<OPTION value=jpn>Japanese (Shift JIS)
<OPTION value=spl>Latin American Spanish
<OPTION value=nor>Norwegian
<OPTION value=pol>Polish (CP 1250)
<OPTION value=rus>Russian (CP 1251)
<OPTION value=sel>Serbian (Latin)
<OPTION value=slo>Slovenian (CP 1250)
<OPTION value=swe>Swedish
<OPTION value=wel>Welsh</OPTION></SELECT><BR>
<SELECT name=to style="font-family: Verdana, Arial; font-size: 8pt" size="1">
<OPTION value=spa selected>Spanish
<OPTION value=eng>English
<OPTION value=fre>French
<OPTION value=ger>German
<OPTION value=ita>Italian
<OPTION value=poe>Portuguese
<OPTION value=pob>Brazilian Portuguese
<OPTION value=cro>Croatian (CP 1250)
<OPTION value=che>Czech (CP 1250)
<OPTION value=dan>Danish
<OPTION value=dut>Dutch
<OPTION value=spe>European Spanish
<OPTION value=fin>Finnish
<OPTION value=grk>Greek
<OPTION value=hun>Hungarian (CP 1250)
<OPTION value=ice>Icelandic
<OPTION value=jpn>Japanese (Shift JIS)
<OPTION value=spl>Latin American Spanish
<OPTION value=nor>Norwegian
<OPTION value=pol>Polish (CP 1250)
<OPTION value=rus>Russian (CP 1251)
<OPTION value=sel>Serbian (Latin)
<OPTION value=slo>Slovenian (CP 1250)
<OPTION value=swe>Swedish
<OPTION value=wel>Welsh</OPTION></SELECT><INPUT type=submit value=Go style="font-family: Verdana, Arial; font-size: 8pt"><INPUT type=hidden value=yes name=topframe> 
                          </FORM>
</td></tr>
</table>


jamesdasher 02-02-2002 04:43 PM

sorry all for not having gotten the hack out, been extremely busy lately with school and work and haven't had time.

James

P.S. hope to get it out this weekend, maybe :D

Jawelin 02-02-2002 09:18 PM

Quote:

Originally posted by jamesdasher
sorry all for not having gotten the hack out, been extremely busy lately with school and work and haven't had time.
P.S. hope to get it out this weekend, maybe :D

np.
Thanks a lot for your 'hello'...
Here I'm, don't hurry/worry !
:)
Thnx

Stretchr 02-03-2002 03:05 PM

I was just wondering whether the problem of private forum translation had been resolved? If so, I'd love to see how it was done. Thanks.

Archer 02-07-2002 03:14 PM

Don't forget to change:
Code:

../showthread.php?threadid=$threadid
to

Code:

../showthread.php?threadid=$threadid&perpage=$perpage&pagenumber=$pagenumber
So, following the my variant of code (applied to http://forum.wbfree.net).

Code:

<!-- Translation -->

<td align=center>
<table cellpadding="0" cellspacing="0" border="0">
<form method=POST action='http://www.translate.ru/rus/url/tran_url.php'><tr><td>
<font size="1" face="Arial">
<b>Translate Thread:</b><br>
<input type=hidden name=template value='General'>
<select name=direction>
<option value='re' selected>Russian to English</option>
<option value='rg'>Russian to German</option>
<option value='rf'>Russian to French</option>
<option value='er'>English to Russian</option>
<option value='gr'>German to Russian</option>
</select>
<input type=hidden name=url value="http://forum.wbfree.net/forums/showthread.php?s=&threadid=$threadid&perpage=$perpage&pagenumber=$pagenumber">

<!-- go button -->
<input type="image" src="images/go.gif" border="0" align="absbottom"></font>
</td></tr></form>
</table></td>

<!-- End of translation -->

I have most Russian-speaking visitors, but also English-speaking. They ask me to make some translator implementation. I'm using http://www.translate.ru service for it. Unfortunaly, this service can't parse URLs inside document.

The almost same code for forumdisplay template:
Code:

<!-- Translation -->

<td align=center>
<table cellpadding="0" cellspacing="0" border="0">
<form method=POST action='http://www.translate.ru/rus/url/tran_url.php'><tr><td>
<font size="1" face="Arial">
<b>Translate Thread List:</b><br>
<input type=hidden name=template value='General'>
<select name=direction>
<option value='re' selected>Russian to English</option>
<option value='rg'>Russian to German</option>
<option value='rf'>Russian to French</option>
<option value='er'>English to Russian</option>
<option value='gr'>German to Russian</option>
</select>
<input type=hidden name=url value="http://forum.wbfree.net/forums/forumdisplay.php?s=&forumid=$forumid">

<!-- go button -->
<input type="image" src="images/go.gif" border="0" align="absbottom"></font>
</td></tr></form>
</table></td>

<!-- End of translation -->


Lucky 02-07-2002 07:40 PM

Quote:

Originally posted by Stretchr
I was just wondering whether the problem of private forum translation had been resolved? If so, I'd love to see how it was done. Thanks.
+1

Psychdrone 02-20-2002 11:24 PM

WTF?

please help me

heres the code I putinto the template

<td align="right"><table cellpadding="0" cellspacing="0" border="0"><tr><td><smallfont><b>Translate Thread:</b><br>
<select name="lang" onchange="window.location=('http://fets3.freetranslation.com:5081/?Url=www.mysite.net/forum/showthread.php%3Fs%3D%26threadid%3D$threadid&Seque nce=core&Language='+this.optio ns[this.selectedIndex].value)">
<option value="-1" selected>Please select direction:</option>
<option value="English/Spanish">English to Spanish</option>
<option value="English/French">English to French</option>
<option value="English/German">English to German</option>
<option value="English/Italian">English to Italian</option>
<option value="English/Norwegian">English to Norwegian</option>
<option value="English/Portuguese">English to Portuguese</option>
<option value="Spanish/English">Spanish to English</option>
<option value="French/English">French to English</option>
<option value="German/English">German to English</option>
<option value="Italian/English">Italian to English</option>
<option value="Portuguese/English">Portuguese to English</option>
</select></smallfont></td></tr></table></td>

yet I still get the error

Error: The url "http://http;//www.ochroma.net/fourm/showthread.php?s=&threadid=" could not be found

What am I doing wrong, wheres the extra http;// comming from?

Stretchr 02-21-2002 12:03 AM

Check the area I highlighted in bold. I believe this may be where your problem is.
HTH


Quote:

Originally posted by Psychdrone
WTF?

please help me

heres the code I putinto the template

<td align="right"><table cellpadding="0" cellspacing="0" border="0"><tr><td><smallfont><b>Translate Thread:</b><br>
<select name="lang" onchange="window.location=('http://fets3.freetranslation.com:5081/?Url=www.mysite.net /forum/showthread.php%3Fs%3D%26threadid%3D$threadid&Seque nce=core&Language='+this.options[this.selectedIndex].value)">
<option value="-1" selected>Please select direction:</option>
<option value="English/Spanish">English to Spanish</option>
<option value="English/French">English to French</option>
<option value="English/German">English to German</option>
<option value="English/Italian">English to Italian</option>
<option value="English/Norwegian">English to Norwegian</option>
<option value="English/Portuguese">English to Portuguese</option>
<option value="Spanish/English">Spanish to English</option>
<option value="French/English">French to English</option>
<option value="German/English">German to English</option>
<option value="Italian/English">Italian to English</option>
<option value="Portuguese/English">Portuguese to English</option>
</select></smallfont></td></tr></table></td>

yet I still get the error

Error: The url "http://http;//www.ochroma.net/fourm/showthread.php?s=&threadid=" could not be found

What am I doing wrong, wheres the extra http;// comming from?


Jawelin 02-21-2002 07:10 AM

Quote:

[i]Originally posted by jamesdasher [/i
sorry all for not having gotten the hack out, been extremely busy lately with school and work and haven't had time.
P.S. hope to get it out this weekend, maybe

Hi, Jamesdasher.
Are you still there ? :rolleyes:
Thnx

Psychdrone 02-21-2002 05:01 PM

Quote:

Originally posted by Stretchr
Check the area I highlighted in bold. I believe this may be where your problem is.
HTH



O I know, I just didn't want to put my site there :D duh I am not that stupid

whats the problem thu, its not that


All times are GMT. The time now is 05:08 AM.

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.01107 seconds
  • Memory Usage 1,762KB
  • 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
  • (5)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete