Back to vBulletin 3.7 Template Modifications

UKBL ~ Easy Google Translator
Mod Version: 1.00, by UKBusinessLive

This modification is in the archives.
vB Version: 3.7.5 Rating: (1 vote - 5.00 average) Installs: 4
Released: 24 Jan 2009 Last Update: Never Downloads: 42
Not Supported Template Edits Re-usable Code Translations  

UKBL ~ Easy Google Translator


Hi Everyone,

Made this for a friends forum and thought i'd share it here

Just a Simple Google translator which you can add to your forums, displays in a small Dropdown box in the Forum Home and posibit wrapper.



Then you can add the dropdown box in the postbit wrapper so that the option to translate is available with every post



Just click on a language and within seconds your posts is converted to a language of your choice



Your Members will be able to chose from the following,

Arabic
Chinese Simplified
Chinese Traditional
Dutch
French
German
Greek
Italian
Japanese
Korean
Russian
Spanish
Portuguese

There are loads more available, if you want any lanuage in particular, just post here and i'll add it on

Nice, So how do we add it???

1. Download the zip file with the code and instructions

2. Styles & Templates > All Style Options > Edit Template > Forum home template: FORUMHOME

Find:

Code:
$navbar
Below add:

Code:
<!-- UKBL ~ Easy Translation on forumhome -->
<DIV ALIGN=RIGHT>
<td nowrap style="border-left: 1px solid #dddddd;" align="center"> <select name="translate" style="height:20px; font-size:11px;" onchange="javascript:window.location = 'http://www.google.com/translate_c?hl=en&langpair=en%7C' + this.value + '&u=' + window.location.href;">
<option value="">Translate This Page</option>
<option value="ar">Arabic</option>
<option value="zh-CN">Chinese Simplified</option>
<option value="zh-TW">Chinese Traditional</option>
<option value="nl">Dutch</option>
<option value="fr">French</option>
<option value="de">German</option>
<option value="el">Greek</option>
<option value="it">Italian</option>
<option value="ja">Japanese</option>
<option value="ko">Korean</option>
<option value="pt">Portuguese</option>
<option value="ru">Russian</option>
<option value="es">Spanish</option> 
</select>
</DIV>
<!-- UKBL ~ Easy Translation on forumhome -->
Styles & Templates > All Style Options > Edit Template > Postbit Templates > postbit_wrapper

find

Code:
<!-- post #$post[postid] -->
Then below add

Code:
<!-- UKBL ~ Easy Translation on postbit_wrapper -->
<DIV ALIGN=CENTER>
<td nowrap style="border-left: 1px solid #dddddd;" align="center"> <select name="translate" style="height:20px; font-size:11px;" onchange="javascript:window.location = 'http://www.google.com/translate_c?hl=en&langpair=en%7C' + this.value + '&u=' + window.location.href;">
<option value="">Translate This Page</option>
<option value="ar">Arabic</option>
<option value="zh-CN">Chinese Simplified</option>
<option value="zh-TW">Chinese Traditional</option>
<option value="nl">Dutch</option>
<option value="fr">French</option>
<option value="de">German</option>
<option value="el">Greek</option>
<option value="it">Italian</option>
<option value="ja">Japanese</option>
<option value="ko">Korean</option>
<option value="pt">Portuguese</option>
<option value="ru">Russian</option>
<option value="es">Spanish</option> 
</select>
</DIV>
<!-- UKBL ~ Easy Translation on postbit_wrapper -->
Thats it, So easy and a great treat for your members

As always Please Click installed if you use this

************************** UPDATED LANGUAGE PACK *********************

Here is an updated language pack, just replace your existing ones with the ones below

Code:
<option value="ar">Arabic</option>
<option value="bg">Bulgarian</option>
<option value="zh-CN">Chinese Simplified</option>
<option value="zh-TW">Chinese Traditional</option>
<option value="hr">Croatian</option>
<option value="cs">Czech</option>
<option value="da">Danish </option>
<option value="nl">Dutch</option>
<option value="en">English</option>
<option value="fi">Finnish</option>
<option value="ph">Filipino</option>
<option value="fr">French</option>
<option value="de">German</option>
<option value="il">Hebrew</option>
<option value="el">Greek</option>
<option value="it">Italian</option>
<option value="id">Indonesian</option>
<option value="lv">Latvian</option>
<option value="lt">Lithuanian</option>
<option value="hi">Hindi</option>
<option value="ja">Japanese</option>
<option value="ko">Korean</option>
<option value="no">Norwegian</option>
<option value="pl">Polish</option>
<option value="pt">Portuguese</option>
<option value="ro">Romanian</option>
<option value="ru">Russian</option>
<option value="es">Spanish</option> 
<option value="sv">Swedish</option> 
<option value="rs">Serbian</option> 
<option value="sk">Slovak</option> 
<option value="si">Slovenian</option> 
<option value="ua">Ukrainian</option> 
<option value="vn">Vietnamese</option>
Feel Free to add or delete any you don't want, I'll add more as i get them

Please Click Installed for unlimited support

Download

This modification is archived, downloads are still allowed.

File Type: %1$s Translator.zip (114.4 KB, 43 downloads)

Screenshots

Click image for larger version
Name:	page1.png
Views:	34
Size:	43.5 KB
ID:	93408   Click image for larger version
Name:	page2.png
Views:	25
Size:	38.5 KB
ID:	93409   Click image for larger version
Name:	page3.png
Views:	28
Size:	32.9 KB
ID:	93410  

Similar Mods

Forum Home Enhancements UKBL- Easy Menu Tabs vBulletin 3.8 Template Modifications
Forum Display Enhancements UKBL ~ Easy Google Translator vBulletin 3.8 Template Modifications
End-User Options AJAX Google Translator vBulletin 3.7 Add-ons
Forum Home Enhancements UKBL- Easy Menu Tabs vBulletin 3.7 Template Modifications
Forum Home Enhancements UKBL ~ Easy Page Redirect vBulletin 3.6 Template Modifications

vblts.ru supports vBulletin®, 2022-2024