vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Forum Display Enhancements - vB Enterprise Translator (https://vborg.vbsupport.ru/showthread.php?t=220886)

NLP-er 08-26-2009 04:40 PM

Quote:

Originally Posted by VonDoom (Post 1874396)
All i get is all empty templates when clicking any flag. Forum works fine until i click a flag then all i get is this.. Any Ideas???

https://vborg.vbsupport.ru/external/2009/08/23.jpg

Forum link please.

Also - dissable cache and check results.

And tell me which kind of links are you using?

NLP-er 08-26-2009 04:43 PM

Quote:

Originally Posted by imported_silkroad (Post 1874592)
Hey NPL-er!

FYI, in case you did not see this:

Seems that Microsoft Translation API is available :D

http://msdn.microsoft.com/en-us/library/dd638310.aspx

Thanks for note :) Added in TODO

NLP-er 08-26-2009 05:12 PM

Quote:

Originally Posted by Joppe111 (Post 1874774)
Hi NLP-er!

We have installed this mod and I am really excited about it as I belive it can increase traffic quit a lot! But - there are some problems....

As far as I can see, the translations are NOT cached - or more possibly - it ignores to fetch the cached translation and always makes a query to Google. It simply isn't any difference in time when opening a page that has been opened previously compared to the first time.

What was your way of mesurment? How are you sure that page wasn't translated before? Dissable cache - make several tests. Enable cache - make several tests. Take average time for booth and let me know about your results :)

Quote:

Originally Posted by Joppe111 (Post 1874774)
If I enable more than one language the mod causes MySQL to be overloaded. The site has quit a lot of traffic but I suspect that the main problem is when search engine bots are opening many pages to be translated. If all languages are enabled it can take more than a minute to get the page translated and fully rendered. It will also cause tons of MySQL errors and the whole forum becomes unresponsive.

You can choose which languages you want to have cached or dissable cache at all. It is fully configurable.
"can take" - does it means that you checked it or you are worried? If you checked it - configure your cache appropriatelly to your needs. If you are worried - make stress test and check it.
"It will cause" - you expect this or you had this? What errors you are writing about - give me error log. I cannot help with your actual description.

Quote:

Originally Posted by Joppe111 (Post 1874774)
When testing with just one language, it still takes approx the double time for a previously translated page to be fully loaded compared to a "original page". Example: http://www.experiencefestival.com/fo...gust-15-a.html

It is not a problem. Try to find faster translation mod :) Translation takes time. Even from cache. And alvays will take longer that oryginal page, because oryginal page is generated first and then translated. Mod will not translate something which wasn't generated first.

Quote:

Originally Posted by Joppe111 (Post 1874774)
To open and load the "original page", i.e. the original English page, takes about 4-5 seconds. To open the Swedish translation, when only having one language enabled, will take double the time, 9-10 seconds, regardless if it has been opened before. When having 5-6 languages enabled it will take 20-30 seconds. When having all languages enabled the whole site gets unstable.

There is no any connection between mod speed and number of enabled translations. Mod works same way no mather how many translations you have on. It is your server load. If you cannot stand your traffic I cannot help in that.
I really don't know what are you expecting from me at this point. Please describe me what are your suggestions :)

Quote:

Originally Posted by Joppe111 (Post 1874774)
From what I can understand the mod is actually writing to MySQL, but, it looks like it fails to see that a page is cached and will always make a query to Google. I guess that the reason for MySQL-errors is that to many requests for writing to MySQL is made when all or several languages are enabled, and I guess that the reason for the long wait for the translated page is because many languages enabled means a lot of queries to Google., ie it becomes a long queue to Google.

Once again - what errors?

About cache - go to file vbenterprisetrnslator_functions.php, find function vbet_getFromCache and change every line in this function with return (but not return null) to return 'FROM CACHE';. Upload and you will see which parts are taken from cache (if any). After that undo changes and upload oryginal file.

Enabled language doesn't mean any query to Google. Translation of page - does.

Quote:

Originally Posted by Joppe111 (Post 1874774)
From what I can see all settings in AdminCP is as they should:

”Use cache” is set to yes
”Cache Time To Live” is set to 90 days
”Select grouped translations” is now Yes, have tested with No but it doesn’t make any difference
“Cache details” is set to all languages

I have now only Swedish and German enabled but it takes forever to open an already translated page... What is wrong???

Cannot tell without possiblity to check it.

NLP-er 08-26-2009 05:14 PM

Quote:

Originally Posted by Neutral Singh (Post 1874840)
Dear NLP,

There is a small bug in your demo website...

Once i clicked the one of the translation icons... it makes the language change to the selected one, but if i try to again change the lanuage to another one, it shows "Page Not Found".

Suppose i choose /en/ for English Language and then i choose /hi/ for Hindi, it shows a Page not found error... needs a quick fix... and we are good to go... amazing stuff... you are my hero...

Thanks for note - I had to mess somesthing working on changes. As far as I know it is not included in last release :)

EDITED:
Corrected on site - as I wrote it was my experimetns - production is fine so feel free to install :)

RedHacker 08-26-2009 05:22 PM

NLP-er can you help me?

NLP-er 08-26-2009 05:26 PM

Quote:

Originally Posted by RedHacker (Post 1874890)
NLP-er can you help me?

Already did :)
https://vborg.vbsupport.ru/showpost....&postcount=388

RedHacker 08-26-2009 05:35 PM

Quote:

Originally Posted by NLP-er (Post 1874893)

I had 4.4.9 PHP

NLP-er 08-26-2009 07:37 PM

Quote:

Originally Posted by RedHacker (Post 1874907)
I had 4.4.9 PHP

But without iconv installed - I gave you link where you will find install instructions :)

Losko 08-26-2009 07:45 PM

Quote:

Originally Posted by imported_silkroad (Post 1873496)
What problem is that?

"links seo" ??

You mean with vBadvanced links add-on?

Yes I have problems with the mod if set for the links SEO. The problem's in my forum and not by vBadvanced

TurkeySub 08-27-2009 12:57 AM

HI Guys,

Found a bug/issue:

If you go directly to a page (http://www.gamerslifeline.com/news-a...-expo-pax.html) and then click the translate images, it will refresh back to English.

If you go to the forum root, index.php, then change language and go back to the page, it will be fine.

Maybe an issue with the VBSEO version of the product?


All times are GMT. The time now is 02:14 AM.

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.02606 seconds
  • Memory Usage 1,764KB
  • 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
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (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