This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Tagged: Documentation request
This topic contains 5 replies, has 2 voices.
Last updated by Prosenjit Barman 1 year, 9 months ago.
Assisted by: Prosenjit Barman.
Author | Posts |
---|---|
September 4, 2023 at 7:17 am #14333913 | |
svenD-9 |
Hi there, we're trying to translate posts, but they get stuck and only show the spinning wheel after completing the translation in the ATE. A lot of custom fields (we're using Advanced Custom Fields) are assigned to these posts and some additional custom taxonomies. The posts aren't created with Elementor, but the assigned Elementor template uses the custom fields to include additional information and as template conditions. We cannot find anything in the logs, so we can only guess, that maybe the problem lies in a custom field. Can you use the following information to see what is happening here? Is there any way to get a log or something from the ATE? The ATE log on our end doesn't show anything. Best, |
September 5, 2023 at 7:23 am #14340335 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello Marc, Thank you for providing the Job ID. After reviewing our translation management system, I can confirm that the Translation job linked to this ID has been successfully completed and delivered. Rest assured, there are no issues with the ATE. Since you're using a performance optimization plugin on your site, the issue you're having might be related to the caching. Could you please clear the caches from your site and browser properly and then check again? If the issue persists even after that, please follow the steps mentioned below and check if that helps to solve the issue. - Please go to "WPML > Support > Troubleshooting" Please let me know if that helps or if you need further assistance in this matter. I will be happy to help. Best Regards, |
September 5, 2023 at 2:43 pm #14345665 | |
svenD-9 |
Hello Prosenjit, thank you very much, it actually was our FastCGI caching, after clearing the cache the translation jobs completed successfully. Unfortunately we strongly rely on our cache, so we need to find a way to clear only the needed portions of it. Do you have any advice what needs to be cleared? Best, |
September 6, 2023 at 6:37 am #14348615 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello Marc, Glad to hear that the issue is solved now. I can understand the importance of caching on your site. If the caching system that you are using allows for clearing caches from specific sections or excluding certain areas from caching, then you can take the full URL of the page or post list where the issue occurred. You can then either clear the cache for that particular page or add the URL to the cache exclusion list. For example: if the issue occurred in the Post section of wp-admin, then copy the URL of the post section("example.com/wp-admin/edit.php") and remove caches of this page or add this URL in the exclusion list. In this way, you don't have to clear the caches for the entire site. You can also reach out to the support team of the Caching system and discuss further. They can help you better in this matter. If there is anything else you need help with, please let me know. I will be happy to help. Best Regards, |
September 6, 2023 at 2:32 pm #14353279 | |
svenD-9 |
Hi Prosenjit, thanks again. The backend isn't cached, so we need to figure out, how this process works and how it could be affected by the cache. Can you explain what happens when using the ATE? I guess the WPML plugin creates an xliff file for the specific page and loads the ATE while letting it download this xliff file. What happens after completing the translation? Does the ATE send the translated xliff back via API? Does it check the original page? If we can figure out, which URL we need to remove from the cache, it may be the solution to our problem. Best, |
September 7, 2023 at 9:53 am #14357973 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hi Marc, You've guessed correctly! Once the translation is finished, the ATE returns the translated XLIFF file through the API. Just so you know, the API will check the status of the original page every time you update the page. Based on that, the status of the translation gets updated. If you think that excluding the endpoints might be beneficial, kindly refer to the documentation provided below. From there, exclude the API endpoint specified in the documentation from caching. - https://wpml.org/documentation/support/rest-api-dependencies/ I hope it will help. If there is anything else if you need help. please let me know. Best Regards, |