WordPress: How to troubleshoot the issue that some translated content is not returned to the CMS
Introduction
One of the problems that you might identify is that some translations are not returned to the dedicated place in your WordPress environment, when particular jobs are completed in XTM Cloud. Normally, it would be expected that the import process would take place automatically.
Instructions
First of all, try reopening a particular job/project in XTM Cloud and finishing it again. The callbacks from XTM Cloud will be triggered again and this time, the translated content might return to the CMS.
If this action does yield the required result, there is one more important thing that you should pay attention to. In the vast majority of cases, the issue that translated content does not return to WordPress stems from the inherent limitations of PHP as a programming language. As PHP is a scripting language, it has some restrictions in terms of script executing time, allocated memory, etc. These problems usually cause performance issues.
That being said, you are likely to have too few resources allocated to WPML, or WordPress and PHP processes. First, you should check if each resource at WordPress is GREEN. If even one of them is RED, it should arouse your interest. To view these resources, select WordPress, in WPML → Support → Info.
To allocate more memory, you might need to consult your IT team, to adjust some properties in the .htaccess file, such as:
php_value upload_max_filesize 1024M
.php_value post_max_size 1024M
.php_value memory_limit 1024M
.php_value max_execution_time 1200
.php_value max_input_time 1200
.
Sometimes the changes in the .htaccess file might also fail. In such a case, you can just add some additional functions to the functions.php file. This file is located in your current theme files:
@ini_set( 'upload_max_size', '1024M' )
.@ini_set( 'post_max_size', '1024M')
.@ini_set( 'max_execution_time', '1200' )
.
If you have taken the appropriate steps and changed the relevant properties for the above-mentioned files, but the problem with importing translated content still persists, do not hesitate to submit an issue request to XTM International Support, via the dedicated form in Customer Portal: Report an issue relating to XTM Connect – WordPress. |
---|