vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Show Thread Enhancements - Translate a Thread in a Google Pop-Up Window (https://vborg.vbsupport.ru/showthread.php?t=168439)

TheWhite 01-27-2008 12:02 PM

Can someone give me the automatic Italian to English string?

Best regards

Digital Jedi 01-27-2008 02:00 PM

I made sure to make each block easy to find in the attached zip file in Post 2. Italian to English is in a block by itself.

baghdad4ever 01-27-2008 02:38 PM

Quote:

Originally Posted by Digital Jedi (Post 1429372)
baghdad4ever, what additional languages are you looking for? Have you tried the other language options yet? Sorry if I'm misunderstanding you.
.


hi

my forum language is arabic, so when german guest come and want to translate the page, he will press on german flag but the google cannot translate the page

only arabic to english worked

how can i fix that??

Digital Jedi 01-27-2008 03:28 PM

Quote:

Originally Posted by baghdad4ever (Post 1430102)
hi

my forum language is arabic, so when german guest come and want to translate the page, he will press on german flag but the google cannot translate the page

only arabic to english worked

how can i fix that??

I see what you mean now. The way the code works is it translates a predetermined language to a predetermined language. Google can't guess what language your page is in, so the links are premade to translate one specific language to one specific language. So the only thing the German flag (on the Post 1 mod) is going to do is translate "English to German", not "Any Language to German".

For the moment, Google only translates Arabic to English. But if they add any more languages, I'll be sure to add it in.

TheWhite 01-27-2008 03:46 PM

ok thanks but now how do i add the domain to the whitelist?

how comw that with the some of the other languages you don't need the guest feature on? :(

Digital Jedi 01-27-2008 04:19 PM

Quote:

Originally Posted by TheWhite (Post 1430140)
ok thanks but now how do i add the domain to the whitelist?

how comw that with the some of the other languages you don't need the guest feature on? :(

If it's not viewable by Guests, then Google can't read it either. There shouldn't be any exceptions to that, unless you've stumbled across a bug in your permissions.

R-D 02-08-2008 11:38 PM

Great hack, thanks Digital Jedi! :)

Habsy 02-09-2008 03:29 AM

Hi, I am having a problem adding this mod. Step 2A asks to look for

<script type="text/javascript">
<!--
vB_AJAX_ThreadRate_Init('showthread_threadrate_for m');
var threadid = $threadinfo[threadid];
//-->
</script>
</if>

Yet my style does not contain that function.

Is there another area of the style I can place this mod? I would love to get it working.

Thanks in advance.

Digital Jedi 02-09-2008 10:00 AM

Quote:

Originally Posted by R-D (Post 1439142)
Great hack, thanks Digital Jedi! :)

Your welcome. :cool: And thank you.

Quote:

Originally Posted by Habsy (Post 1439227)
Hi, I am having a problem adding this mod. Step 2A asks to look for

<script type="text/javascript">
<!--
vB_AJAX_ThreadRate_Init('showthread_threadrate_for m');
var threadid = $threadinfo[threadid];
//-->
</script>
</if>

Yet my style does not contain that function.

Is there another area of the style I can place this mod? I would love to get it working.

Thanks in advance.

Can you post your template code? Maybe it's just arranged differently.

skrazydogz 02-09-2008 11:03 AM

your English traslation isnt correct it opens only google translator...and not an german - english translation for example.


All times are GMT. The time now is 08:00 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.01203 seconds
  • Memory Usage 1,740KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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