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: May 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

  #16  
Old 24 Jan 2008, 13:56
Lombardo Lombardo is offline
 
Join Date: Dec 2007
I can't get it too work mate,first thing its hard to keep your cursor over it to click it because it just closes and when i eventually get to click it nothing happens.
Reply With Quote
  #17  
Old 24 Jan 2008, 15:04
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
Well, that might be the problem. Your not supposed to click it. It just opens when you move your mouse over it. vBulletin menus just open once you've already opened a window. For example, try opening a regular drop down, and you'll notice when move your mouse over any of the other ones, they open and close without clicking. If you click them, you close it again.

That's what's been happening here. Just mouse over the menu like you would any other kind of drop down menu, and the sub menu will automatically open. If you try to click it, your just going to turn the menu off.
__________________
Reply With Quote
  #18  
Old 24 Jan 2008, 20:51
Lombardo Lombardo is offline
 
Join Date: Dec 2007
Yeah when i put my mouse over it it closes tho.
Reply With Quote
  #19  
Old 24 Jan 2008, 21:30
vbob vbob is offline
 
Join Date: Jan 2008
Hi,
My main Language of my forum is Greek. I want to translate Greek to English...etc...!!! When I press the menu to translate my thread to English, the pop up does not translate anything, but it just shows me the Google translation page...!!! What should I change to the code so it can be functional from Greek to any other language???
Edit: Hmm another issue: ...I have the "Welcome" mod for guests to show them a message and invite them to register to the site...!!! it seems that if the mod translates something from the thread it just translate the welcome message - because google isn't a registered user and sees that message!!!! Is there a way to make the mod tranlate the thread correctly? :-)
(Still...when I press the english flag, it just shows me the Google translation page only and doesn't do any translation)

Thank you...!!! :-)
__________________
www.madseeds.com

Last edited by vbob : 24 Jan 2008 at 21:39.
Reply With Quote
  #20  
Old 24 Jan 2008, 23:08
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
Arrow

Originally Posted by Lombardo View Post
Yeah when i put my mouse over it it closes tho.
It shouldn't. Can I see a link to where you have it installed?

Originally Posted by vbob View Post
Hi,
My main Language of my forum is Greek. I want to translate Greek to English...etc...!!! When I press the menu to translate my thread to English, the pop up does not translate anything, but it just shows me the Google translation page...!!! What should I change to the code so it can be functional from Greek to any other language???
See post two of this thread. That's the alternative if you want more [LANGUAGE] to English options.

If you don't want all those options, you could also just remove the block of code marked <!--English--> in the first version and replace it with the line of code marked <!--English To Greek--> in Post 2. EDIT: (Yes, I just realized I have that entire menu marked wrong. They shoud all be marked [LANGUAGE] to English, not English to [LANGUAGE])

Edit: Hmm another issue: ...I have the "Welcome" mod for guests to show them a message and invite them to register to the site...!!! it seems that if the mod translates something from the thread it just translate the welcome message - because google isn't a registered user and sees that message!!!! Is there a way to make the mod tranlate the thread correctly? :-)
Unfortunately, no. Google can only translate what it can see. Or conversely, it will translate everything it sees. Basically this mod utilized 3rd party functionality, and as such, is limited by what the 3rd party offers. But I have presented the issue to Google. It remains to be seen when (or if) they'll get back to me.

(Still...when I press the english flag, it just shows me the Google translation page only and doesn't do any translation)
See above.

Thank you...!!! :-)
No problem.
__________________

Last edited by Digital Jedi : 24 Jan 2008 at 23:18.
Reply With Quote
  #21  
Old 24 Jan 2008, 23:26
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
Okay, minor wording problem on the Post 2 <!--comments--> fixed. That would not have affected performance at all. But it sure would have made support a bit more confusing then it already is.
__________________
Reply With Quote
  #22  
Old 24 Jan 2008, 23:54
Lombardo Lombardo is offline
 
Join Date: Dec 2007
my forum http://www.ucsampdoria.co.uk
Reply With Quote
  #23  
Old 25 Jan 2008, 00:14
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
Originally Posted by Lombardo View Post
Okay, I think I see the problem. It actually is opening. But it's opening way down towards the bottom of the next post. Remember in the instructions where I say that you may need to adjust this line margin-top:-308px to maintain the illusion that the menu is changing? That's what's happening here. The old menu is closing, but the new menu is opening in the wrong part of the screen.

I see you adjusted that line a little bit, setting -308 to -300. But actually, your going to need a larger negative number. Right now it looks like this:


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

Change the -300 to something like -600 and play around with that. Because everyone's styles are different, everyone will likely have to adjust that line to get it to line up just perfectly. The larger the negative number the higher it will go. The closer to 0 you get the lower it will go.

By the way, what browser are you using?
__________________
Reply With Quote
  #24  
Old 25 Jan 2008, 00:23
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
Ugh, apparently this is a browser compatibility thing. I just checked FireFox and it opens the menu in a completely different location. I can probably fix this. But I'll need some time.
__________________
Reply With Quote
  #25  
Old 25 Jan 2008, 00:26
Lombardo Lombardo is offline
 
Join Date: Dec 2007
so no point changing it?
Reply With Quote
  #26  
Old 25 Jan 2008, 08:10
apiasto's Avatar
apiasto apiasto is offline
 
Join Date: Oct 2006
nice work,my question is could v add any other languages to the menu? thnx
Reply With Quote
  #27  
Old 25 Jan 2008, 08:51
baghdad4ever baghdad4ever is offline
 
Join Date: May 2007
Real name: husam
thanks
Reply With Quote
  #28  
Old 25 Jan 2008, 09:12
vbob vbob is offline
 
Join Date: Jan 2008
I checked out again. Because guests can read (they have permissions) my forum that's not a problem for google(Google can see/read all the text needed)!!! Google just have "extra text" (the welcome message) to translate.... :-) :-) so everything is ok for guests and google !!!The only problem is that I have to change the From Language in First case of code..to Greek (the default is english)!!! The hover menu in second case, just don't work for me (I am using firefox). (and in general I think that many users will be confused too) I prefer to use the first case of code (the simplicity of the menu I mean) and not the alternative one.

I tested the second case (I added that "second case" part of code after the "Greek" in the first case of code - Not the alternative)


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

And it works fine...!!!
The question is that I want to translate from Greek to any language
What should i do for the rest languages?
__________________
www.madseeds.com
Reply With Quote
  #29  
Old 25 Jan 2008, 10:19
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
The alternative code, and this my fault really, as I didn't check FireFox before I went to bed last night, wont necessarily work for cross browsers. Both browser require different lines of code to align them similarly. And everything I've looked at so far just seems inelegant from what I had intended. This is really my fault also for trying to get fancy with code I'm not all that familiar with.

I think I have a much simpler, more elegant solution for folks, without trying to get all fancy and cute. It should actually provide a solution for everyone. Just give me a few to edit Post 2. If it gets to late tonight (6 AM here), I'll try to have a replacement up by Friday night, barring flood or famine (or just forgetting to pay my Internet bill =/ ).
__________________
Reply With Quote
  #30  
Old 25 Jan 2008, 10:26
baghdad4ever baghdad4ever is offline
 
Join Date: May 2007
Real name: husam
i love this mod but

sorry it is not work on IE

but it work on firefox

see this

http://www.baghdad4ever.net/vb/showt...362#post791362

Last edited by baghdad4ever : 25 Jan 2008 at 10:46.
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 20:40.

Layout Options | Width: Wide Color: