Forum Archive - Solved:Reason for so many language directories in GTranslate

Solved:Reason for so many language directories in GTranslate
Feb 2, 2014 7:10 pm by DF30000
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
Re: Reason for so many language directories in GTranslate
Feb 3, 2014 11:01 am by DF30000
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
Re: Reason for so many language directories in GTranslate
Feb 3, 2014 11:06 am by DF30000
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?
Re: Reason for so many language directories in GTranslate
Feb 3, 2014 11:13 am by Edvard
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!
Re: Reason for so many language directories in GTranslate
Feb 3, 2014 11:19 am by DF30000
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
Re: Reason for so many language directories in GTranslate
Feb 3, 2014 11:27 am by Yana
Thank you for the information.

SIMILAR TOPICS

Gtranslate MultisiteFeb 12, 2019 7:27 amReplies: 1Post by: infact_dat
Gtranslate: Error with numberFeb 20, 2019 1:20 amReplies: 1Post by: infact_dat
GTranslate 3.7.4, Joomla 3.9.3 - doGTranslate is not definedFeb 22, 2019 12:34 pmReplies: 1Post by: oase
Add-on gtranslate no longer worksFeb 2, 2019 6:01 amReplies: 1Post by: DarylDixon
Large numbers of crawl errors with double language codeJan 24, 2019 1:43 amReplies: 1Post by: natastna2

Try GTranslate with a free 15 day trial