Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Translate every page on the fly Details »»
Translate every page on the fly
Version: 1.00, by doa24uk doa24uk is offline
Developer Last Online: Oct 2010 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.8.x Rating:
Released: 06-02-2009 Last Update: Never Installs: 9
Template Edits
Re-useable Code Translations  
No support by the author.

NOTE: This MOD will work on ANY version of vBulletin - 3.4,3.5,3.6,3.7,3.8 etc...


This will give you a Google translate box which will allow users to translate your pages on the fly into their own language!


Step 1


Go here and choose your forum native language, copy the code given in the box.

Step 2


In FORUMHOME FIND

Code:
<!-- end today's birthdays -->
</if>
INSERT AFTER

{Code copied from Step 1}


In FORUMDISPLAY FIND

Code:
<!-- ############## END THREADS LIST ##############  -->
</if>

INSERT AFTER

{Code copied from Step 1}


In SHOWTHREAD FIND

Code:
<!-- / social bookmarking links -->
</if>
INSERT AFTER

{Code copied from Step 1}


In USERCP FIND

Code:
$template_hook[usercp_main_pos6]

INSERT AFTER

{Code copied from Step 1}

Show Your Support

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

Comments
  #2  
Old 06-03-2009, 11:47 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice attempt... others out there even one by UKBL

so everyone, pick your poison i.e. this one or others all seem good. Ohh and on the fly is kind of misleading I assumed everytime you clicked a link it would already bring it up translated... silly me but you see what I mean
Reply With Quote
  #3  
Old 06-28-2009, 07:58 PM
relaxiha relaxiha is offline
 
Join Date: Jan 2009
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you ! work fine
Reply With Quote
  #4  
Old 06-29-2009, 03:55 PM
saadessa saadessa is offline
 
Join Date: Jan 2008
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you ! work fine
Reply With Quote
  #5  
Old 10-21-2009, 02:00 PM
ricardoNJ ricardoNJ is offline
 
Join Date: Sep 2008
Posts: 295
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

uninstalled.
It is a bit annoying that it always appears at the top, a band wanting to translate the page. Anyway: thanks!
Reply With Quote
  #6  
Old 11-20-2009, 03:16 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've marked this installed however i only used the suggestion of adding the translate tool, rather than make all those template edits you could simply include it in your header or, as i have done make it floating
Reply With Quote
  #7  
Old 03-23-2010, 11:50 PM
justasiam justasiam is offline
 
Join Date: Feb 2010
Location: Los Angeles, CA
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a new set of instructions available for v4.xx of vBulletin? Also of vbCMS and vbBlog.
Reply With Quote
  #8  
Old 03-24-2010, 01:40 AM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Google's Translator Causes Errors on Internet Explorer 6, so You Have to Create a Conditional to Exclude IE6 Browsers to Use the Translator, (the Users will get an Error Page if Not).

I Use the Following Code:

Quote:
<if condition="(is_browser('firefox') or is_browser('chrome') or is_browser('ie', '8'))">

GOOGLE_TRANSLATOR_CODE

</if>
I Haven't Tested Yet if the Translator Works Fine on Internet Explorer 7, that's why I haven't included yet a:

Quote:
or is_browser('ie', '7')
Also, the Chrome Browser should be Included with the Following Instructions:

Add Google Chrome to the is_browser() function

Another Simpler Code Might be the Following, to Exclude the Internet Explorer 6 Browser, and use the Translator on Every Other Browser and Internet Explorer Version:

Quote:
<if condition="(!is_browser('ie', '6'))">

GOOGLE_TRANSLATOR_CODE

</if>

You Can Use the Google Translator Tool Code on the Header Template and it'll be Used on All the Board's Pages.

My Best Regards.

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 06:15 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.04364 seconds
  • Memory Usage 2,285KB
  • Queries Executed 22 (?)
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
  • (4)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete