Solved:Reason for so many language directories in GTranslate

Popular automatic website translation tool

Solved:Reason for so many language directories in GTranslate

Postby DF30000 » Sun Feb 02, 2014 11:10 pm

Hi

I have got several languages in the GTranslate drop down menu on my site. They seem to be working fine however there are many other languages I have found in the GTranslate directory on the server. Each language have their own directory eg it and nl, I do not remember adding those languages. There are a huge number of cached files inside. The issue is that the site run extremely slowly when people try to access the site for some of the languages http://www.alvanblanchgroup.com/nl or http://www.alvanblanchgroup.com/it. Is there a reason for the very long delay in opening the pages?

Thanks
DF30000
 
Posts: 36
Joined: Fri Jul 12, 2013 6:09 pm

Re: Reason for so many language directories in GTranslate

Postby DF30000 » Mon Feb 03, 2014 3:01 pm

I have checked my web hosting error msg log and found a great deal of error msgs with gtranslate in the msg - I have copied and pasted below a sample



home3/alvanbla/public_html/gtranslate/error_log:
[03-Feb-2014 03:57:35 America/Denver] PHP Warning: file_put_contents(cache/nl/6398956164c932fda87bc60817019bad): failed to open stream: No such file or directory in /home3/alvanbla/public_html/gtranslate/translate.php on line 305
[03-Feb-2014 03:57:35 America/Denver] PHP Warning: Creating default object from empty value in /home3/alvanbla/public_html/gtranslate/translate.php on line 232
[03-Feb-2014 03:57:35 America/Denver] PHP Warning: file_put_contents(cache/nl/a47db9dcd5f1528fe8bcc49435d71189): failed to open stream: No such file or directory in /home3/alvanbla/public_html/gtranslate/translate.php on line 305
[03-Feb-2014 03:57:35 America/Denver] PHP Warning: Creating default object from empty value in /home3/alvanbla/public_html/gtranslate/translate.php on line 232
[03-Feb-2014 03:57:35 America/Denver] PHP Warning: file_put_contents(cache/nl/a889113eb2d4b34b3ef1d286c96bf2e6): failed to open stream: No such file or directory in /home3/alvanbla/public_html/gtranslate/translate.php on line 305
[03-Feb-2014 03:57:35 America/Denver] PHP Warning: Creating default object from empty value in /home3/alvanbla/public_html/gtranslate/translate.php on line 232
[03-Feb-2014 03:57:35 America/Denver] PHP Warning: file_put_contents(cache/nl/a10fe75c8f7031cd695bc628e5941ffe): failed to open stream: No such file or directory in /home3/alvanbla/public_html/gtranslate/translate.php on line 305
[03-Feb-2014 03:57:36 America/Denver] PHP Warning: Creating default object from empty value in /home3/alvanbla/public_html/gtranslate/translate.php on line 232
[03-Feb-2014 03:57:36 America/Denver] PHP Warning: file_put_contents(cache/nl/ac5775b85efaf82d7fad06cbea513aca): failed to open stream: No such file or directory in /home3/alvanbla/public_html/gtranslate/translate.php on line 305
[03-Feb-2014 03:57:36 America/Denver] PHP Warning: Creating default object from empty value in /home3/alvanbla/public_html/gtranslate/translate.php on line 232

Please advise if this is something I can deal with?

Kind regards

Johnny
DF30000
 
Posts: 36
Joined: Fri Jul 12, 2013 6:09 pm

Re: Reason for so many language directories in GTranslate

Postby DF30000 » Mon Feb 03, 2014 3:06 pm

I am not sure if I did the right thing - I added a new 'nl' directory in the gtranslate/cache directory and given the directory a 777 file permission - will this help?
DF30000
 
Posts: 36
Joined: Fri Jul 12, 2013 6:09 pm

Re: Reason for so many language directories in GTranslate

Postby Edvard » Mon Feb 03, 2014 3:13 pm

Hi,

The folders are by design. If you do not use any language the appropriate folder should be empty. We do not advice to delete those folders. However you can delete the files inside of the folders, but in that case your content need to be translated again.

If you are having issues with your server performance you may upgrade and use our Enterprise service which will keep all the translations in our cloud servers and serve translations of your site from our translation delivery network.

Let me know.

Thanks!
Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4179
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: Reason for so many language directories in GTranslate

Postby DF30000 » Mon Feb 03, 2014 3:19 pm

Hi Edvard

I have now discovered that some of the language directories were missing in gtranslate/cache - ie in my case, it and nl were missing [checking the web hosting server log msg had given me the information]. The site is now working with fine. I will follow your advise and leave the directories and their cached files inside

Thanks
DF30000
 
Posts: 36
Joined: Fri Jul 12, 2013 6:09 pm

Re: Reason for so many language directories in GTranslate

Postby Yana » Mon Feb 03, 2014 3:27 pm

Thank you for the information.
Regards,

Yana Ghahramanyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Yana
 
Posts: 4129
Joined: Thu Jan 12, 2012 6:21 pm


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

2GLux
cron