after a mail from my Server provider I have recognize that there are still some problems with the GTranslate Pro Version. The problems still have to do with the cache and to remove not used languages. This problems was also a lot of time named here in the forum but they are still exists. Also my provider informs me that Gtranslate try to connect more than 100 time per second. Because of this the provider said that this problem have to fix otherwise GTranslate has to removed from the website. I'm sure that also you dont want that a provider force to remove GTranslate from a website.
The questions about to remove a language was so many times ask in the forum that I wondering that it is not part of the FAQ. Target of this threat is a clear instruction for all other forum user what they have to do if they have the same problems. At the end i will write everything together and post it in a FAQ: How to remove unused language thread. But of course I need the GTranslate Support to get all answer correctly. So I will wrote down some questions which must be answer by Gtranslate. Ok Lets start.
1. Question(s): About GTranslate Pro Versions:
First of all the user have to now if he have the newest GTranslation Pro Version. Otherwise he must installed the newest once. Right?
Where can I see my current version of the GTranslate pro version on my site?
Where on the GTranslate website I can see the current version of GTranslate Pro? What are the changes to the earlier version? Where the user can find the Release notes?
When a user regconize that he didnt't have the newest version, where can he get the newest one?
Are the instruction to install the update are included if you send the newest version?
2. Question(s): Remove a language.
GTranslate Pro caches all the translations in this folder:
For every language there is a subfolder. Currently there are these subfolders:
The problem is, that these folders containing a huge amount of files. Currently I have for example only 5 languages and 120000 files in these 5 folders. These huge numbers of file can provide some problems.
An other problem is that in the standard installation of Gtranslate the visitors can user every language they want. Not only the language the administrator select in Module are available, all of them.
For example if you have a website like this:
all the named translations are available. Just write in the browser:
But mostly nobody want to support all languages. They are only generate files in the cache folder. It is important to delete languages forever from the website. The questions is: How to do that.
In another thread GTranslate write
Hi, You need to write a rule to redirect unwanted languafes to the homepage.Here is an example
RewriteRule ^(fr|de|it)/(.*)$ /$1 [R=301,L]
That means if you, for example, only want to support Italian translations you have to write put this line into your .htaccess file:
- Code: Select all
RewriteRule ^(it|fr|de|sv|no|fi|en|af|ar|az|be|bg|bn|ca|cs|cy|el|es|et|eu|fa|ga|gl|gu|hi|hr|ht|hu|hy|id|is|it|iw|ja|ka|kn|ko|lt|lv|mk|ms|mt|nl|pl|pt|ro|ru|sk|sl|sq|sr|sw|ta|te|th|tl|tr|uk|ur|vi|yi|zh-CN|zh-TW)/(.*)$ /$1 [R=301,L]
GTranslate is this right? Because it didnt work on my site so I have to remove this line from the .htaccess file.
Is is the best to remove all the subfolders from the not supported languages in the cache folder?
3. Question(s): Google translations:
My provider said that there are a lot of connections are make to Google.
Is it possible to reduce the number of these connections?
I once a site is translated full in one language, GTranslate never call Google for this site again, because the site is in the cache, right? So if every site is once call in a language there no more calling to google?
Is it possible that google don't answer translation request? Because new sites from me are not translated.
Thanks for your answers. Hope that we will find all the answers to the open questions.