Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Translate a Thread in a Google Pop-Up Window Details »»
Translate a Thread in a Google Pop-Up Window
Mod Version: 2.00, by Digital Jedi (Coder/Designer) Digital Jedi is offline
Developer Last Online: Jun 2013 I like it Show Printable Version Email this Page

vB Version: 3.6.x Rating: (6 votes - 4.83 average) Installs: 29
Released: 22 Jan 2008 Last Update: 19 Aug 2008 Downloads: 279
Not Supported Template Edits Additional Files Re-usable Code Translations External Content  

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.

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	screenie1.png
Views:	43
Size:	40.4 KB
ID:	85737Click image for larger version

Name:	screenie2.jpg
Views:	75
Size:	91.7 KB
ID:	85738

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
DJ's Translate a Thread in a Google Pop-Up Window Digital Jedi vBulletin 3.7 Template Modifications 42 11 Jun 2009 12:48
Google Translate For your site Q-v-n-s-Q vBulletin 3.6 Template Modifications 4 25 Oct 2008 04:17
Translate Your Pages Via Google AN-net vBulletin 3.0 Template Modifications 51 25 Apr 2007 23:08

  #76  
Old 17 Feb 2008, 14:44
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
Originally Posted by Scalemotorcars View Post
Problem solved. There were 2 issues with this hack not working with the Google Translator.

1st: For some reason Google didn't like my "objectSwap.js" This is the code to get around the pesky active X on IE.

2nd: There was a snag with my Flash content. I was using a Macromedia Shockwave Flash 6 but it kept hanging at the content. I changed it to Flash 8 and still it got stuck. SO.... I stuck the flash on its own page and used an IFrame in the header.

I know, I know its an Iframe but it works.
That's great. I'm glad you posted it here in case anyone encouters the same problem. Hey, I've always thought Iframes were awesome.

Now to move it into the Navbar so all pages can be translated. This would be handy for everyone with the VBadvanced CMPS portal system like myself. Make all global pages translatable. Also need to look into a fix for the ended session when translated. Any ideals.
Originally Posted by Scalemotorcars View Post
Got this into the navbar. Not really hard at all but who knows how to change the language code from "showthread.php" to translate the entire page from the navbar?
Give me just a couple of days, and I'll post the vBadvanced version of this. In order to get the benefit from it in the Navbar, you would need completely different code in the URL area. It's not hard, just different based on your needs.
__________________
Reply With Quote
  #77  
Old 17 Feb 2008, 17:43
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Real name: Daniel
That would be awesome. I'm looking forward to it.
Reply With Quote
  #78  
Old 19 Feb 2008, 17:17
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Real name: Daniel
Any luck yet? I haven't had the time myself but Ill give it a wack sometime this week if you don't have the time either.
Reply With Quote
  #79  
Old 21 Feb 2008, 13:32
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Real name: Daniel
I'm not having any luck with this.

To recap. I'm trying to get this to work from any .com page. Especially with the vbadvanced CMPS pages and the forum.

Its easy enough to add the Language button to the navbar but I cant get the rest of the code to work from that location. Any ideals???
Reply With Quote
  #80  
Old 21 Feb 2008, 13:56
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
There's a slight bug with the one I'm working with. It worked earlier, but I noticed that it didn't like some modifications to my portal page. I'm trying to work that out to see if it's the new HTML I added, or on Google's end.
__________________
Reply With Quote
  #81  
Old 22 Feb 2008, 00:11
paulvev's Avatar
paulvev paulvev is offline
 
Join Date: Mar 2007
my forum has a tiny bit of flash in the header...this modification gives me a white page on the google popup saying "Google error - Server Error - Please try again in 30 seconds" but its not working at all ?

Any suggestions?
Reply With Quote
  #82  
Old 22 Feb 2008, 01:36
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
It probably means just that. An internal server error. In fact, I believe Google was having some problems earlier today. Try again later on and it should work fine.
__________________
Reply With Quote
  #83  
Old 22 Feb 2008, 21:51
paulvev's Avatar
paulvev paulvev is offline
 
Join Date: Mar 2007
Think so? Im not sure...its been 24 hours now and the server error is still showing each time i try to translate.

Going in via google, its translation of web page services (directly) seems to be working ok? Anybody got any ideas...i'd love this on my forum...i have people from 28 different countries!

Is there a way that the popup can show just the thread or post, rather than the header/navbar?
Im sure the problem lies in my flash header or complex navbar.
Reply With Quote
  #84  
Old 22 Feb 2008, 22:12
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
Hrm, that sounds odd. Have you tried the workaround ScaleMotoreCars tried? He was having trouble with his flash banner as well.

By the way, I think I've almost got the bugs on that vBa module worked out. But I can't be sure it will work for every forum until you try it out. So consider it a Beta.
__________________
Reply With Quote
  #85  
Old 22 Feb 2008, 22:53
paulvev's Avatar
paulvev paulvev is offline
 
Join Date: Mar 2007
I also have the Limited Guest hack installed. I turned it off
http://www.vbulletin.org/forum/showt...=Limited+Guest

still didnt work. My forum is set up for guests to be able to view posts.
I do have a tiny bit of flash in my header..

you can see whats happening here :
http://www.forumvme.com/showthread.php?t=699
The language menu opens up fine, but the google translation page struggles and gives a "google internal server error"...although i know its not google, cos all the examples including your demo are actually working right now.

I'm using Firefox... but it doesnt work in IE too.
Im pretty stuck now to be honest. Any ideas?
Reply With Quote
  #86  
Old 23 Feb 2008, 04:19
Magnusson2u Magnusson2u is offline
 
Join Date: Dec 2002
That's some great shit! I can't use it, but I love it!
__________________
New to all forums,php, mysql and any other type of coding. So if it sounds dumb, it's supposed to!
Reply With Quote
  #87  
Old 25 Feb 2008, 19:57
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
Originally Posted by paulvev View Post
I also have the Limited Guest hack installed. I turned it off
http://www.vbulletin.org/forum/showt...=Limited+Guest

still didnt work. My forum is set up for guests to be able to view posts.
I do have a tiny bit of flash in my header..

you can see whats happening here :
http://www.forumvme.com/showthread.php?t=699
The language menu opens up fine, but the google translation page struggles and gives a "google internal server error"...although i know its not google, cos all the examples including your demo are actually working right now.

I'm using Firefox... but it doesnt work in IE too.
Im pretty stuck now to be honest. Any ideas?
I'm thinking it is Google. It's just having a problem with your site in particular. You wouldn't get a server error message if it was on your end. I suggest disabling your hacks one by one, and trying each time to see which one might be causing the problem. I'd start with your advertisements first, and see if it's the flash causing the problem. Google is having a problem processing something and it's causing an error on their end.

Originally Posted by Magnusson2u View Post
That's some great shit! I can't use it, but I love it!
Why, thank you.
__________________
Reply With Quote
  #88  
Old 26 Feb 2008, 03:04
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Real name: Daniel
Google doesn't like the flash get around JS script. I took a quick look at your site and noticed your flash gets around the active-X. So however your doing that I bet thats your problem.
Reply With Quote
  #89  
Old 28 Feb 2008, 21:09
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
vBadvanced Module

Sorry this took so long. Just been busy.

This will create a vBadvanced module on your home page. Let's test this first and make sure it works for everyone, before we tackle a module for all your pages and the additional language options.

Step 1
(For vBadvanced 3.0.0) Go to Admin CP >>> vBa CMPS >>> Add Module>>>Template Module

Step 2

Name the module what you will. I named mine Translate this Page. The important options to set are as follows. You can set the others to whatever you wish.
Template to Include: translate_page
Template Content:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Use Module Wrapper Template: No
Step 3
Replace each instance of YOURDOMAIN.COM with the location of your forum.

Step 4
After setting your other settings to preference, save the module and when prompted, add it to the page your using as your home page.

And that should do it. The rest can be set to your customizations. When you wish to edit the appearance and the code of the module, you will go to your Style Manager and edit the template named adv_portal_translate_page. Here's mine in action: www.cogonline.net
__________________

Last edited by Digital Jedi : 07 Mar 2008 at 09:26.
Reply With Quote
  #90  
Old 29 Feb 2008, 05:22
Tom S Tom S is offline
 
Join Date: Feb 2008
Thumbs up

Thank You so much for writing this code. It is going to help our research like you would not believe. I have just worked on this for around an hour (I am really new to this code stuff). But I did get it working correctly. Now if I could just figure out what I did wrong with the Mp3 player

Check out my Forum: http://www.bigfootreferenceguide.com/index.php

You guys are geniuses in my book. I was just noticing the update to add to the Template Module. This will not overwrite what I have just done, correct? This will be for the next Forum Skin that I build?

Tom S.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 02:33.

Layout Options | Width: Wide Color: