vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Forum Display Enhancements - UKBL ~ Easy Google Translator (https://vborg.vbsupport.ru/showthread.php?t=202949)

hugh_ 03-17-2009 10:59 AM

Is there anyway to open the translated page in a pop up or new window?

UKBusinessLive 03-17-2009 05:11 PM

Quote:

Originally Posted by hugh_ (Post 1770333)
Is there anyway to open the translated page in a pop up or new window?

Hi Hugh

Unfortunately not at the moment but i will look into it for you see if we can make it so ;)

RedHacker 03-17-2009 05:36 PM

UKBusinessLive why dont translate ....?

UKBusinessLive 03-17-2009 05:40 PM

Quote:

Originally Posted by RedHacker (Post 1770581)
UKBusinessLive why dont translate ....?

why don't translate what ??? :confused:

RedHacker 03-17-2009 05:43 PM

Quote:

Originally Posted by RedHacker (Post 1770260)
When gone translate etg Spanish i say to login and not change..!!!Why.....?

Look...

TSHNOFX 03-17-2009 10:17 PM

Just a little tip, but if you want it to be another checkbox next to where you select styles, you can do this:

Find
Code:

        <if condition="$show['quickchooser']">
                <td class="tfoot">
                        <select name="styleid" onchange="switch_id(this, 'style')">
                                <optgroup label="$vbphrase[quick_style_chooser]">
                                        $quickchooserbits
                                </optgroup>
                        </select>
                </td>
        </if>

Add below:
Code:

<!-- UKBL ~ Easy Translation on postbit_wrapper -->
<td class="tfoot"> <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="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>
</select>
<!-- UKBL ~ Easy Translation on postbit_wrapper -->


relaxiha 06-19-2009 08:38 PM

hello
please update google for persian lang

Greek76 06-19-2009 11:28 PM

Great idea installed and tested but something that I find a problem. What I find to be a problem is that it logs you off the forum and their is a google frame on top of the forum. Nothing major but is their a way to fix that?

dxt-cobra 08-07-2009 06:24 PM

yea i have the same issue with the login, it will log me out before it translates the page. then if i log back in im back to the normal language.

Meestor_X 08-13-2009 07:56 PM

Quote:

Originally Posted by TheLastSuperman (Post 1723704)
I put mine in navbar on forum home, then the footer for a while so they notice then I will remove, then in all my subforums as some are in different styles in the footer at the very top which makes it just below the box stating:



Again, many thanks for the great insight UK!

Edit: Demo: --> http://www.tournamentgamingworld.com...splay.php?f=21
Bottom Left below the box as I described.

Edit Again lol: I might change the location to be in w/ the upper code where it says "Display Options" and that will make more sense eh? :D

S-MAN

I can't see this gadget anywhere on your site. Did you remove it for some reason?


All times are GMT. The time now is 05:29 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01138 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete