The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
UKBL ~ Easy Google Translator Details »» | |||||||||||||||||||||||||||||||||
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 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 --> find Code:
<!-- post #$post[postid] --> 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 --> 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> Please Click Installed for unlimited support Download Now
Screenshots
Show Your Support
|
Comments |
#12
|
|||
|
|||
You have little mistake in languages. There is Cczech, should be Czech
I have translated all names into Polish (in alphabetical order of course) Code:
<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=pl&langpair=pl%7C' + this.value + '&u=' + window.location.href;"> <option value="">Przetłumacz Stronę Na:</option> <option value="en">Angielski</option> <option value="ar">Arabski</option> <option value="bg">Bułgarski</option> <option value="zh-TW">Chiński Tradycyjny</option> <option value="zh-CN">Chiński Uproszczony</option> <option value="hr">Chorwacki</option> <option value="cs">Czeski</option> <option value="da">Duński</option> <option value="ph">Filipiński</option> <option value="fi">Fiński</option> <option value="fr">Francuski</option> <option value="el">Grecki</option> <option value="il">Hebrajski</option> <option value="hi">Hindi</option> <option value="es">Hiszpański</option> <option value="id">Indonezyjski</option> <option value="ja">Japoński</option> <option value="ko">Koreański</option> <option value="lt">Litewski</option> <option value="lv">Łotewski</option> <option value="nl">Niderlandzki</option> <option value="de">Niemiecki</option> <option value="no">Norweski</option> <option value="pl">Polski</option> <option value="pt">Portugalski</option> <option value="ru">Rosyjski</option> <option value="ro">Rumuński</option> <option value="rs">Serbski</option> <option value="sk">Słowacki</option> <option value="si">Słoweński</option> <option value="sv">Szwedzi</option> <option value="ua">Ukraiński</option> <option value="vn">Vietnamski</option> <option value="it">Włoski</option> </select> </DIV> |
#13
|
|||
|
|||
Thanks for that,
|
#14
|
|||
|
|||
You still didn't correct the Cczech name in languages list :P It should be Czech :P
|
#15
|
|||
|
|||
just going to do it now, been at work all day
|
#16
|
||||
|
||||
Installed on 3.8.1 BUT, it pushes the forum home to the right with a gap on the left. And it really jumbled up the posts within threads. TIA.
|
#17
|
|||
|
|||
Do not work from spanish to english?
Error Translation from English into English is not supported. Please choose from the following: Go back to the previous page" Back to Translate See original page |
#18
|
|||
|
|||
I have it installes ,but most of the time do not translate nathing.
|
#19
|
|||
|
|||
Hi,
So you want to translate english to english ??? What exactly is it thats not working??? |
#20
|
|||
|
|||
Quote:
Have you added it to the right part in your template as explained above??? Works fine on my forum http://www.ukbusinesslive.co.uk/forum post here the code which you used, remember there are Two Codes one for the header and one for the postbit wrapper All i think could be happening is that you've put the code in between something ?? let me know and we'll get it sorted |
#21
|
||||
|
||||
Quote:
In postbit_wrapper: Quote:
In the forumhome: Quote:
Then make sure to close. Quote:
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|