Register Members List Search Today's Posts Mark Forums Read

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

This modification is in the archives.
vB Version: 3.7.x Rating: (7 votes - 4.86 average) Installs: 34
Released: 19 Aug 2008 Last Update: 18 Mar 2009 Downloads: 157
Not Supported Template Edits Additional Files External Content  

This template modifications adds a drop-down menu to all your threads which allows users to translate that thread in a new window using Google's Language Tools.

========================================
NOTE: As this is a merely a template edit, vBulletin version isn't really going to be an issue.
========================================

When I first released this for vB 3.6, there seemed to be some confusion as to how this works. Let me clear up any confusion from the start. This is just a simple template modification that redirects you to a translation service from Google.com. It's some links and some pictures designed to help international users communicate more easily. It does not auto-detect what language your forum is in, nor is it a way to browse and post in your forum in another language. It's simply what is described: A way to translate a thread from one base language to another set language. And it also can only support the languages that Google supports, which are the ones listed. Hopefully I've redesigned this mod to be more clear about how it works.


NOTE: In order for Google to translate your threads, they must be able to crawl your forum pages. So Guests must be able to read your forum in order for this mod to work.


Updates
08-19-08 (Updated to include the new languages from Google's Language Tools.


Upgrades
For those upgrading from the vB 3.6 version, click here.


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.


Installation
Installation is simple. To add this to your forum requires two edits to your SHOWTHREAD template.

Step 1.
To access your SHOWTHREAD template, go to Admin CP >>> Styles & Templates >>> Style Manager >>> "Expand one of your styles" >>> Showthread Templates >>> SHOWTHREAD and look for:


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

Below it add:


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

Step 2. (The following step will add the "English to..." translation links only. For those that want additional language options, see Post 2 of this thread.)
Next find:


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

Below it add:


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

Step 3.
Next thing to do is upload the flag images (in attached zip file) to the buttons folder in your images directory. Make sure you upload them to the right one. For some forums, this might simply be images/buttons/. But if your using a custom skin, this might be in the folder holding your style (skin) images, such as [stylename]/buttons/. It will need to be in that directory for each skin you make the template changes to.

Download Now

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

Screenshots

Click image for larger version

Name:	screenie1.png
Views:	125
Size:	40.4 KB
ID:	85741   Click image for larger version

Name:	screenie2.jpg
Views:	201
Size:	91.7 KB
ID:	85742  

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
Show Thread Enhancements Translate a Thread in a Google Pop-Up Window Digital Jedi vBulletin 3.6 Template Modifications 103 23 Dec 2011 02:53
Miscellaneous Hacks 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

Comments
  #2  
Old 19 Aug 2008, 14:50
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
Additional "[Language] to..." Options (Step 2A)
If you need something other than English as your base language, follow the links below to the language you need and add any of those blocks of code just before these lines:


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



Or if you want to use one or more of these INSTEAD of the "English to..." option, you'll need to paste your code in between the <table></table> tags, replacing everything in between:


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

______________________
Note: These additional options have not been fully tested to work. Any feedback is appreciated.

Arabic to...
Bulgarian to...
Dutch to...
Chinese to...
Croatian to...
Czech to...
Danish to...
Russian to..

Last edited by Digital Jedi; 25 Aug 2008 at 01:10.
Reply With Quote
  #3  
Old 19 Aug 2008, 15:11
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
Arabic to...

Don't forget to follow the instructions for Step 2A.

"Arabic to..."


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

__________________

Last edited by Digital Jedi; 24 Aug 2008 at 20:10.
Reply With Quote
  #4  
Old 19 Aug 2008, 15:14
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
Bulgarian to...

Don't forget to follow the instructions for Step 2A.

Bulgarian to...


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

__________________

Last edited by Digital Jedi; 24 Aug 2008 at 20:10.
Reply With Quote
  #5  
Old 19 Aug 2008, 19:43
M-Tuning's Avatar
M-Tuning M-Tuning is offline
 
Join Date: Jul 2005
Real name: Martin Venema
Dutch to...


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

Reply With Quote
  #6  
Old 19 Aug 2008, 23:45
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
Hey, M-Tuning, thanks for that. Saves me some steps.

Don't forget, though, that in each one I posted I included the home language as a link to the Google Translator. So Dutch wouldn't translate to Arabic unless you change that first link, like so:

Don't forget to follow the instructions for Step 2A.

Dutch to...

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

__________________

Last edited by Digital Jedi; 24 Aug 2008 at 20:10.
Reply With Quote
  #7  
Old 20 Aug 2008, 00:05
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
Don't forget to follow the instructions for Step 2A.

Chinese to...


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

__________________

Last edited by Digital Jedi; 24 Aug 2008 at 20:11.
Reply With Quote
  #8  
Old 20 Aug 2008, 00:13
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez

Don't forget to follow the instructions for Step 2A.

Croatian to...


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

__________________

Last edited by Digital Jedi; 24 Aug 2008 at 20:11.
Reply With Quote
  #9  
Old 20 Aug 2008, 00:21
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez

Don't forget to follow the instructions for Step 2A.

Czech to...


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

__________________

Last edited by Digital Jedi; 24 Aug 2008 at 20:12.
Reply With Quote
  #10  
Old 20 Aug 2008, 00:33
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez

Don't forget to follow the instructions for Step 2A.

Danish to...


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

__________________

Last edited by Digital Jedi; 24 Aug 2008 at 20:12.
Reply With Quote
  #11  
Old 20 Aug 2008, 01:03
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
Arrow Upgrade Instructions

To all the users of my 2.00 modification, please refer to these instructions in order to upgrade. Upgrading is even easier then before.

UPGRADE INSTRUCTIONS

To access your SHOWTHREAD template, go to your Admin CP >>> Styles & Templates >>> Style Manager >>> [Expand Your Style] >>> Show Thread Templates >>> SHOWTHREAD.

STEP 1.
Simply search for this block of code in your SHOWTHREAD template:


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

Change the one instance of the word Language to Translate.


STEP 2.
Look for everything starting with this line

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

And ending with this line:

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

And replace all of it with this:

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

And your done.


I will be adding additional language options like I had in the previous modification to Post 2. But because Google now translates the full spectrum of their available languages to the full spectrum of their available languages, the previous manner I had just isn't practical and wont fit into one post. So I will be adding [Language] to... options one by one as time permits. If you have a request, I'll move it to the front of the list. But until then I'm jut going thought them one language at a time. Thanks, and I hope you enjoy this update.
__________________
Reply With Quote
  #12  
Old 22 Aug 2008, 18:52
apiasto's Avatar
apiasto apiasto is offline
 
Join Date: Oct 2006
how about english to urdu?
Reply With Quote
  #13  
Old 23 Aug 2008, 00:12
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
Originally Posted by apiasto View Post
how about english to urdu?
Google doesn't have an option to translate to Urdu.
__________________
Reply With Quote
  #14  
Old 23 Aug 2008, 19:11
dxflw dxflw is offline
 
Join Date: May 2008
Great mod man!Congratulations!
Reply With Quote
  #15  
Old 24 Aug 2008, 03:55
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
EDIT: I'm brain dead, I already posted Chinese to...
https://www.vbulletin.org/forum/showthread.php?p=1602664
__________________

Last edited by Digital Jedi; 24 Aug 2008 at 04:08.
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

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


New To Site? Need Help?

All times are GMT. The time now is 19:45.

Layout Options | Width: Wide Color: