Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications

Reply
 
Thread Tools
Translate a Thread in a Google Pop-Up Window Details »»
Translate a Thread in a Google Pop-Up Window
Version: 2.00, by Digital Jedi Digital Jedi is offline
Developer Last Online: Sep 2023 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.6.x Rating:
Released: 01-21-2008 Last Update: 08-18-2008 Installs: 29
Template Edits
Re-useable Code Additional Files Translations  
No support by the author.

Support and updates for this mod will now be given in the 3.7.x thread, as this should work no matter what your version of vB. If you have any questions, please ask in that thread.





Screenshot



Supported Languages
العربية (Arabic)
Български (Bulgarian)
中国 (Chinese - Simplified)
中國 (Chinese - Traditional)
Hrvatski (Croatian)
Česky (Czech)
Dansk (Danish)
Nederlands (Dutch)
English (This is merely a direct link to the Google Translator)
Suomi (Finnish)
Fran?ais (French)
Ελληνική (Greek)
Deutsch (German)
हिन्दी (Hindi)
Italiano (Italian)
日本語 (Japanese)
한국어 (Korean)
Norsk (Norwegian)
Polski (Polish)
Portugu?s (Portuguese)
Rom?nă (Romanian)
Русский Russian
Espa?ol (Spanish)
Svenska (Swedish)


Live Demo
Look for the "Translate" drop-down menu beside the "Display Modes" drop-down.

Supporters / CoAuthors

Show Your Support

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

Comments
  #42  
Old 01-27-2008, 12:02 PM
TheWhite TheWhite is offline
 
Join Date: Nov 2006
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can someone give me the automatic Italian to English string?

Best regards
Reply With Quote
  #43  
Old 01-27-2008, 02:00 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I made sure to make each block easy to find in the attached zip file in Post 2. Italian to English is in a block by itself.
Reply With Quote
  #44  
Old 01-27-2008, 02:38 PM
baghdad4ever baghdad4ever is offline
 
Join Date: Apr 2007
Location: baghdad
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
baghdad4ever, what additional languages are you looking for? Have you tried the other language options yet? Sorry if I'm misunderstanding you.
.

hi

my forum language is arabic, so when german guest come and want to translate the page, he will press on german flag but the google cannot translate the page

only arabic to english worked

how can i fix that??
Reply With Quote
  #45  
Old 01-27-2008, 03:28 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by baghdad4ever View Post
hi

my forum language is arabic, so when german guest come and want to translate the page, he will press on german flag but the google cannot translate the page

only arabic to english worked

how can i fix that??
I see what you mean now. The way the code works is it translates a predetermined language to a predetermined language. Google can't guess what language your page is in, so the links are premade to translate one specific language to one specific language. So the only thing the German flag (on the Post 1 mod) is going to do is translate "English to German", not "Any Language to German".

For the moment, Google only translates Arabic to English. But if they add any more languages, I'll be sure to add it in.
Reply With Quote
  #46  
Old 01-27-2008, 03:46 PM
TheWhite TheWhite is offline
 
Join Date: Nov 2006
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok thanks but now how do i add the domain to the whitelist?

how comw that with the some of the other languages you don't need the guest feature on?
Reply With Quote
  #47  
Old 01-27-2008, 04:19 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheWhite View Post
ok thanks but now how do i add the domain to the whitelist?

how comw that with the some of the other languages you don't need the guest feature on?
If it's not viewable by Guests, then Google can't read it either. There shouldn't be any exceptions to that, unless you've stumbled across a bug in your permissions.
Reply With Quote
  #48  
Old 02-08-2008, 11:38 PM
R-D's Avatar
R-D R-D is offline
 
Join Date: Jan 2008
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack, thanks Digital Jedi!
Reply With Quote
  #49  
Old 02-09-2008, 03:29 AM
Habsy Habsy is offline
 
Join Date: Sep 2006
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, I am having a problem adding this mod. Step 2A asks to look for

<script type="text/javascript">
<!--
vB_AJAX_ThreadRate_Init('showthread_threadrate_for m');
var threadid = $threadinfo[threadid];
//-->
</script>
</if>

Yet my style does not contain that function.

Is there another area of the style I can place this mod? I would love to get it working.

Thanks in advance.
Reply With Quote
  #50  
Old 02-09-2008, 10:00 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by R-D View Post
Great hack, thanks Digital Jedi!
Your welcome. And thank you.

Quote:
Originally Posted by Habsy View Post
Hi, I am having a problem adding this mod. Step 2A asks to look for

<script type="text/javascript">
<!--
vB_AJAX_ThreadRate_Init('showthread_threadrate_for m');
var threadid = $threadinfo[threadid];
//-->
</script>
</if>

Yet my style does not contain that function.

Is there another area of the style I can place this mod? I would love to get it working.

Thanks in advance.
Can you post your template code? Maybe it's just arranged differently.
Reply With Quote
  #51  
Old 02-09-2008, 11:03 AM
skrazydogz skrazydogz is offline
 
Join Date: Apr 2007
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

your English traslation isnt correct it opens only google translator...and not an german - english translation for example.
Reply With Quote
Reply

Thread Tools

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 05:53 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.04581 seconds
  • Memory Usage 2,311KB
  • Queries Executed 26 (?)
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_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
  • (4)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