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-24-2009 03:12 AM

Quote:

Originally Posted by BusterHymens (Post 1872458)
Nevermind I figured it out. The only thing I dont understand is the directions to change the vbseo.php file Im still confused on where to add the first line and what to do after adding that.

You don't have to made ANY changes in vbseo.php file. Please fallow installaction instructions and description of Translation links type parameter.

NLP-er 08-24-2009 03:16 AM

Quote:

Originally Posted by Lee G (Post 1872637)
Just tried the latest version. It sets up the missing data base OK, does all the rewrites OK.

The only problem found now is on forum home, when you choose a language flag and google returns a 404 page not found.

All the internal pages translate well and the cache problem is now resolved :up:

Probably you have wrong .htaccess rules. Go to first post and check it. Also - if you did any changes in vbseo.php file you have to undo it.

If it still happens - please PM me your forum link :) I will look there :)

NLP-er 08-24-2009 03:19 AM

Quote:

Originally Posted by ForexFox (Post 1872663)
I still have the frontpage "bug" (not showing flags) with 201 installed, what was exactly causing the flags from not showing on frontpage?

Only flags or all images? Make sure you have appropriate .htaccess file (go to first post and check it) also undo any changes in vbseo.php file if were done.

NLP-er 08-24-2009 03:21 AM

Quote:

Originally Posted by jaryx (Post 1872852)
Your flag is little too big. :)

See below for other properly flags. I think so ;)

Arabic, Catalan, Czech, Estonian, Persian, Galician, Slovenian, Filipino, Vietnamese, Serbian

Thanks - I will include changes in next release :)

NLP-er 08-24-2009 03:23 AM

Quote:

Originally Posted by yahoooh (Post 1872914)
thank u
about persian flag i think the old one is more related to persian

Old one will stay for persian.

Any other flag should be changed or it is all? :)

VonDoom 08-24-2009 03:50 AM

Good Stuff. A+ *Installed*

Losko 08-24-2009 01:09 PM

I uninstalled the mod because i have problems with links seo :(

yahoooh 08-24-2009 04:07 PM

after upgrade to 2.0.2

i get this message in flags option in setting:
An error occurred while processing the bitfield files, the following information was returned

also
about doman name
i put :alwatanyh.com

and it works perfect

imported_silkroad 08-24-2009 04:15 PM

Quote:

Originally Posted by Losko (Post 1873353)
I uninstalled the mod because i have problems with links seo :(

What problem is that?

"links seo" ??

You mean with vBadvanced links add-on?

NLP-er 08-25-2009 03:29 AM

Quote:

Originally Posted by Losko (Post 1873353)
I uninstalled the mod because i have problems with links seo :(

Please PM me details with url to your forum.

NLP-er 08-25-2009 03:30 AM

Quote:

Originally Posted by yahoooh (Post 1873490)
after upgrade to 2.0.2

i get this message in flags option in setting:
An error occurred while processing the bitfield files, the following information was returned

also
about doman name
i put :alwatanyh.com

and it works perfect

ALREADY CORRECTED IN 2.0.3

About bitfield - I also have it. I will check and made new release :) Thanks for note :)

NLP-er 08-25-2009 03:36 AM

2.0.3 RELEASED

Quick bug fixing (issue with bitfields in options panel)

Britmovie 08-25-2009 08:14 AM

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?

RedHacker 08-25-2009 08:34 AM

Problem with Fatal error: Call to undefined function: iconv() in /includes/vbenterprisetranslator_functions.php on line 586

Megatr0n 08-25-2009 09:39 AM

Michal, if this is a quick bug fix can you clarify which, files we have to overwrite? :)

Dr.LoVe 08-25-2009 09:47 AM

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

VonDoom 08-25-2009 09:53 PM

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

RedHacker 08-25-2009 10:14 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

Whats the problem.....?

merkaz 08-25-2009 11:22 PM

Quote:

Originally Posted by RedHacker (Post 1874413)
Whats the problem.....?

You need iconv installed in your server .

merkaz 08-25-2009 11:23 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

Make sure you have Curl enable on you server .

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?

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 05:17 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.04027 seconds
  • Memory Usage 1,864KB
  • 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
  • (31)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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