Forum Archive - [Solved] no translate content - drupal 7

[Solved] no translate content - drupal 7
Apr 11, 2012 9:23 pm by ja_ko
hello I have a problem. I installed gTranslate pro. it looks like it works, create pages http://www.mydomain.com / de, but does not translate see: http://www.kempy-chaty.cz/de
Re: no translate content - drupal 7
Apr 11, 2012 9:40 pm by Yana
Hi, Make sure you have set /gtranslate/cache and /gtranslate/cache/xx folders permissions to 777. In order to see the communication between your server and google translator try to enable GTranslate debug mode in /gtranslate/config.php file . in gtranslate/config.php and refresh the page. After that you will see a debug.txt file inside gtranslate folder. You can access it by http://www.kempy-chaty.cz/gtranslate/debug.txt
Re: no translate content - drupal 7
Apr 11, 2012 10:32 pm by ja_ko
hi, Thank you for answering yes, i have /gtranslate/cache and /gtranslate/cache/xx folders - 777 atribute Today I have nothing to translate and debug writes: debug.txt Response: { "error": { "errors": [ { "domain": "usageLimits", "reason": "dailyLimitExceeded", "message": "Daily Limit Exceeded" } ], "code": 403, "message": "Daily Limit Exceeded" } }
Re: no translate content - drupal 7
Apr 11, 2012 10:39 pm by Yana
Hi, You have reached the daily limit for your API key you need to wait or you can remove it . API key is an optional feature and GTranslate Pro works without API.
Re: no translate content - drupal 7
Apr 12, 2012 12:33 pm by ja_ko
Thank you for your prompt assistance. gTranslate already a translation but I still question how to translate the site? because some sites are translated fully, some partially others do not. should give it some time?
Re: no translate content - drupal 7
Apr 12, 2012 2:26 pm by Yana
Hi, Please check your API key. Try to delete cache/limit.txt if it exists and refresh the page. Also you can try to add ?force_translation=1 to the end of the URL.
Re: no translate content - drupal 7
Apr 13, 2012 8:21 pm by ja_ko
hi, we build web, but we already have about 600 pages, so manually editing pages come into consideration. You have said, "For GTranslate works without API." So I turned off this option. I deleted the files in a cache file and limit.txt (that is generated again) and the result is not presented completely whole site. You can take a look at my debug file, I already know what can not be to full text is not translated. you can see: http://www.kempy-chaty.cz/de/ or http://www.kempy-chaty.cz/de/ubytovani/cesko/cr/kralovehradecky-kraj/chaty-chalupy-chatky my conf.: <?php define('MAIN_LANG', 'cs'); // Main language code: en, ar, bg, hr, cn, ct, cs, da, et, tl, fi, fr, gl, el, iw, hi, es, nl, id, ja, ca, ko, lt, lv, mt, de, no, pt, ru, ro, sr, sk, sl, sv, th, tr, uk, hu, vi, it, pl, sq define('API_KEY', 'INSERT-YOUR-KEY'); // You can get your Google Translate API key from https://code.google.com/apis/console/?api=translate define('AUTO_DETECT_LANG', false); // set to true if you have mixed language content, works with Google only define('CACHE_TIME', 365*24*60*60); // 1 year by default, no need to decrease define('LICENSE', 'license.dat'); define('SSL_VERIFY_PEER', true); // disable if you get CA certificate error and cannot reconfigure your server to solve the issue define('FOLLOW_LOCATION', false); // if your site have redirects for some URLs and for that reason you see blank pages, you need to enable this feature define('USE_BING_TRANSLATOR', false); // Enable it to use Bing Translotor instead of Google Translate define('BING_API_KEY', 'INSERT-YOUR-KEY'); // If the option above is enabled you need to get your Bing API key from http://www.bing.com/developers/createapp.aspx (PHP SOAP client is required) define('DEBUG', true); // turn on for debug mode // username and password to edit translations, please change for security reasons, // this is not your google login/pass, you need to think something new define('USER', '***'); define('PASS', '****');
Re: no translate content - drupal 7
Apr 14, 2012 7:40 pm by Yana
Hi, You can make the force_translation option permanent if you are having trouble on all pages of your site. You can replace lang=$1 with lang=$1&force_translation=1 in the .htaccess
Re: no translate content - drupal 7
Apr 18, 2012 7:56 am by ja_ko
thank you, it helped me :-)

SIMILAR TOPICS

wordpress amp link not translateDec 31, 2016 10:11 amReplies: 12Post by: besybuy
Translate website to any specific language, on page loadJan 19, 2019 6:49 amReplies: 1Post by: Leaon7756
Best way to translate a page in WordPress?Jan 7, 2019 11:10 amReplies: 3Post by: Tonnystark
how to translate site right to left for arabic in WordPressDec 26, 2018 9:02 amReplies: 1Post by: Hammond753
How do I add Indian languages in Drupal GTranslate?Sep 18, 2011 6:10 amReplies: 26Post by: rag_gupta

Try GTranslate with a free 15 day trial