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 |
#32
|
|||
|
|||
In google translate home turkish supported, But in faq page its shown as not supported.
|
#33
|
|||
|
|||
Quote:
Done it, Right all you need to do is this First in the code find this line Code:
<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> Firstly in that line of code find the google url and the bits you need to change is in red google . com/translate_c?hl=en&langpair=en%7C' + this.value + '&u=' + window.location.href;"> Now the en tells google your site is in english, well we need to change that to Turkish so change that for tr, the 2 letter country code for Turkey So now your code should look something like... Code:
<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=tr&langpair=tr%7C' + this.value + '&u=' + window.location.href;"> <option value="">Translate This Page</option> Code:
<option value="tr">Turkish</option> Enjoy :up: |
#34
|
|||
|
|||
Thanks
|
#35
|
||||
|
||||
Quote:
Bump. |
#36
|
|||
|
|||
Sorry Buddy, Must of forgotten about you
Tell me a bit more of what your trying to do?? What country are you in?? and where you've added your code. What languages are you translating to show you that error??? Perhaps a link would allow me to see the problem first hand, PM me if you do not want to post the link, but prefer to send it to me. Thanks, we'll try and sort this for you today |
#37
|
|||
|
|||
thanks for turkish suupport sir
good luck... |
#38
|
||||
|
||||
Quote:
|
#39
|
|||
|
|||
|
#40
|
|||
|
|||
Wow, Uk!
I'm starting to really love your work mate... My new forum software, this would be perfect as a language chooser, as it translates everything. Thank you mate [high]* Winterworks installs[/high] |
#41
|
||||
|
||||
Installed thanks! How can add this into the navbar? Thanks!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|