Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Translate Your Forum Pages Details »»
Translate Your Forum Pages
Version: 1.00, by Kru Kru is offline
Developer Last Online: May 2010 Show Printable Version Email this Page

Version: 3.6.2 Rating:
Released: 11-08-2006 Last Update: Never Installs: 30
 
No support by the author.

Description:

Instantly translate all vb pages that include a footer.

To Install:

Just upload the xml file as a plugin from within AdminCP> PluginSystem>ManageProducts> Download / Upload Plugins

After it open your footer template and find:

Code:
$vboptions[copyrighttext]
Add this below:
(replace http://www.yoursite.com with your sites main url example http://www.cabalonline.com)
Code:
<div align="center">
<a href="javascript:window.location='http://www.yoursite.com'" onmouseover="window.status='http://www.yoursite.com'; return true"
onmouseout="window.status=' '; return true" target="_top">Default language</a>
<br />
<form action="http://babelfish.altavista.com/babelfish/urltrurl?url=http://www.yoursite.com$translationurl" method="post">
<input type="hidden" name="u" value="http://www.yoursite.com$translationurl" />
<select name="lp" onchange="this.form.submit();">
<option value="">Select from and to languages</option>
 <option value="zh_en">Chinese-simp to English</option>
 <option value="zt_en">Chinese-trad to English</option>
 <option value="en_zh">English to Chinese-simp</option>
 <option value="en_zt">English to Chinese-trad</option>
 <option value="en_nl">English to Dutch</option>
 <option value="en_fr">English to French</option>
 
 <option value="en_de">English to German</option>
 <option value="en_el">English to Greek</option>
 <option value="en_it">English to Italian</option>
 <option value="en_ja">English to Japanese</option>
 <option value="en_ko">English to Korean</option>
 <option value="en_pt">English to Portuguese</option>
 
 <option value="en_ru">English to Russian</option>
 <option value="en_es">English to Spanish</option>
 <option value="nl_en">Dutch to English</option>
 <option value="nl_fr">Dutch to French</option>
 <option value="fr_en">French to English</option>
 <option value="fr_de">French to German</option>
 
 <option value="fr_el">French to Greek</option>
 <option value="fr_it">French to Italian</option>
 <option value="fr_pt">French to Portuguese</option>
 <option value="fr_nl">French to Dutch</option>
 <option value="fr_es">French to Spanish</option>
 <option value="de_en">German to English</option>
 
 <option value="de_fr">German to French</option>
 <option value="el_en">Greek to English</option>
 <option value="el_fr">Greek to French</option>
 <option value="it_en">Italian to English</option>
 <option value="it_fr">Italian to French</option>
 <option value="ja_en">Japanese to English</option>
 
 <option value="ko_en">Korean to English</option>
 <option value="pt_en">Portuguese to English</option>
 <option value="pt_fr">Portuguese to French</option>
 <option value="ru_en">Russian to English</option>
 <option value="es_en">Spanish to English</option>
 <option value="es_fr">Spanish to French</option>
 
</select>
 
 
</form>
 
</div>
If your asian translation shows strange characters go to AdminCP -> Languages & Phrases -> Language Manager -> Edit Settings -> HTML Character Set and change it to UTF-8


If you use this mod please click Install - cheers!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 11-10-2006, 02:52 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have now moved mine from the specified place in the template and it works 100%, thanks
Reply With Quote
  #13  
Old 11-11-2006, 08:44 PM
oberheimhaven's Avatar
oberheimhaven oberheimhaven is offline
 
Join Date: May 2006
Location: Daytona Beach FLA
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Greek76
My page just refreshes and does not pick the chosen language. If your on an actual forum and choose one of the option I go to an error page....
same here I also installed the google and will not work??
Reply With Quote
  #14  
Old 11-11-2006, 08:54 PM
oberheimhaven's Avatar
oberheimhaven oberheimhaven is offline
 
Join Date: May 2006
Location: Daytona Beach FLA
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bashy
I have now moved mine from the specified place in the template and it works 100%, thanks
well tell us mate so we can get working?? what did u do mine is not working at all!!
Reply With Quote
  #15  
Old 11-11-2006, 08:55 PM
oberheimhaven's Avatar
oberheimhaven oberheimhaven is offline
 
Join Date: May 2006
Location: Daytona Beach FLA
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ThomasR
I use the Google translation system, updated from the An-net hack:
https://vborg.vbsupport.ru/showthrea...89#post1108089

No problems under 3.6.1, just read the steps on the link above.

For your information, I use google, because it have less problems with the forum with specific caracters (like french accents)
Mine dont work from google??? and I loaded both to the tea is there a error in the code somewhere?
Reply With Quote
  #16  
Old 11-11-2006, 09:29 PM
oberheimhaven's Avatar
oberheimhaven oberheimhaven is offline
 
Join Date: May 2006
Location: Daytona Beach FLA
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ThomasR
I use the Google translation system, updated from the An-net hack:
https://vborg.vbsupport.ru/showthrea...89#post1108089

No problems under 3.6.1, just read the steps on the link above.

For your information, I use google, because it have less problems with the forum with specific caracters (like french accents)
Got it thank you! Works perfectly!!!
Reply With Quote
  #17  
Old 12-16-2006, 01:47 AM
ChuanSE's Avatar
ChuanSE ChuanSE is offline
 
Join Date: Feb 2003
Posts: 311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is vBSEO mod_rewrite an issue, i can't get this to work either :/

EDIT: placing this under the form tag works, so vBSEO is NOT an issue

Code:
	$vboptions[copyrighttext]
</div>

</form>
anyway, what i don't understand is what this piece of code is for

Code:
<a href="javascript:window.location='http://www.ddance.fm/forums'" onmouseover="window.status='http://www.ddance.fm/forums'; return true"
onmouseout="window.status=' '; return true" target="_top">Default language</a>
what is it supposed to do?, it just brings you to the url defined in the script....
Reply With Quote
  #18  
Old 12-29-2006, 05:48 PM
fishhub fishhub is offline
 
Join Date: Aug 2006
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can this work on registered users to translate pages while logged on?
Reply With Quote
  #19  
Old 12-30-2006, 05:33 AM
ChuanSE's Avatar
ChuanSE ChuanSE is offline
 
Join Date: Feb 2003
Posts: 311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it does, but the translating instance does not uses cookies, that is why the ppl get logged out. This means that every NON PUBLIC page can NOT be translated with this system... (imo)
Reply With Quote
  #20  
Old 12-30-2006, 06:11 PM
Funky Diver Funky Diver is offline
 
Join Date: Dec 2006
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmmm... I was going to install til I read that..

If it will work for all users (including logged in) then I would install, but without that it's pretty pointless really :cross-eyed:
Reply With Quote
  #21  
Old 02-28-2007, 05:17 AM
BoTGoD BoTGoD is offline
 
Join Date: Dec 2005
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For all English forums:

Code:
<div align="center">
Translate this page:<br />
<form action="http://translate.google.com/translate">
<input type="hidden"name="u" value="http://rf-xtreme.com$translationurl">
<select name="langpair">
<option value="en|ar">English to Arabic</option>
<option value="en|zh-CN">English to Chinese (Simp)</option>
<option value="en|zh-TW">English to Chinese (Trad)</option>
<option value="en|fr">English to French</option>
<option value="en|de">English to German</option>
<option value="en|it">English to Italian</option>
<option value="en|ja">English to Japanese</option>
<option value="en|ko">English to Korean</option>
<option value="en|pt">English to Portuguese</option>
<option value="en|ru">English to Russian</option>
<option value="en|es">English to Spanish</option>
</select>
<input type=hidden name=hl value="en">
<input type=hidden name=ie value="UTF-8">
<input type=hidden name=oe value="UTF-8">
<input type=hidden name=safe value=active>
<input type=hidden name=prev value="/language_tools">
<input type=submit value="Translate">
</form>
</div>
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:54 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.06345 seconds
  • Memory Usage 2,316KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete