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)

VonDoom 08-26-2009 03:55 AM

Quote:

Originally Posted by merkaz (Post 1874443)
Make sure you have Curl enable on you server .

It is.. Any other ideas? Anybody? :D

RedHacker 08-26-2009 04:45 AM

Quote:

Originally Posted by merkaz (Post 1874442)
You need iconv installed in your server .

What is iconv ...?

imported_silkroad 08-26-2009 06:59 AM

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

Quote:

Though language differences may still hinder worldwide communication, Microsoft has worked consistently to bridge the gap by increasing the quality and accessibility of machine translators. These automated interpreters are fast becoming necessary tools to increase accessibility to products, services, and global social networking. How can developers implement the Microsoft Translator into a website or application? There are three easy techniques for PHP developers: the Web widget, AJAX, and HTTP methods.

imported_silkroad 08-26-2009 07:06 AM

Also, here is the link to get a Microsoft Translate AJAX API key:

http://www.microsofttranslator.com/Dev/Ajax/

Joppe111 08-26-2009 02:17 PM

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.

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.

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

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.

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.

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???

Neutral Singh 08-26-2009 04:11 PM

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...

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

Quote:

Originally Posted by Britmovie (Post 1873917)
Can I ask...
Forum directory box

If i have a domain www.britmovie.net and the forum is at www.britmovie.net/britforum

do I put /britforum in this box?

Yes

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

Quote:

Originally Posted by RedHacker (Post 1873923)
Problem with Fatal error: Call to undefined function: iconv() in /includes/vbenterprisetranslator_functions.php on line 586

Make sure you have php PHP 4 >= 4.0.5, PHP 5 (http://pl.php.net/manual/en/function.iconv.php) and make sure iconv is installed in your php. More: http://pl.php.net/iconv

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

Quote:

Originally Posted by Megatr0n (Post 1873953)
Michal, if this is a quick bug fix can you clarify which, files we have to overwrite? :)

If you had previous version then just import new product file.

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

Quote:

Originally Posted by Dr.LoVe (Post 1873959)
Really Great MOD

But there is one problem

When i use arabic language you said

It'll - Reverse page direction for Arabic and Persian languages

But thing change the page doesn't Reversing :S

You can try here

http://www.forum.simple-nlp.pl/ar/

It wouldn't Reverse it must be in the right side

I don't know what you mean - it is reversed. Even scroll bar is on left side. It works fine :)

Note that browser is responsible for reversing - mod just give a hint that it should be done. Opera supports it - which browser are you using?


All times are GMT. The time now is 08:13 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.01759 seconds
  • Memory Usage 1,751KB
  • 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
  • (7)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