Issue on translation

When you want to translate large files in one click then you can receive white screen, time execution error, curl calls limitation error or other server related issue because of server configuration limitations.

You can change this configuration on your server or in script we implement configuration (only version >= 1.5.8):

You can add into application\config\cms_config.php to limit calls

$config['limit_curl_calls'] = 20;

After that system will translate only 20 fields at once, then you should save and translate again few times until complete file is translated.

For server configuration, notices:

Check this parameters on your server php.ini, should be:

max_execution_time = 300
memory_limit = 256M
post_max_size = 128M
upload_max_filesize = 128M

Most shared servers support php.ini configuration when you copy htaccess_examples\php.ini into your www directory so place where is index.php file

If this doesn’t work then check with your hosting provider

Are you banned from Google Translate API or it simply doesn’t work?

Script version >= 1.5.8 supports also commercial google translate server API key.

Can be entered into: application\libraries\GTranslation.php, line 13

Instructions to get API key: https://cloud.google.com/translate/v2/getting_started

If you don’t receive any results, you can try to call google api directly to check if works, example link:

https://www.googleapis.com/language/translate/v2?key=your_api_key&q=your_word&source=lang_code_from&target=lang_code_to