[Resolved] Translation stays in "refreshing translation status"
This thread is resolved. Here is a description of the problem and solution.
Problem: The client experienced issues with the translation status not updating correctly after switching from a child theme to a parent theme. They suspected the issue might be related to custom PHP code added to edit the product page. After switching themes back and forth and toggling a cache plugin, the problem seemed to be resolved, but the client was unsure what specifically fixed the issue.
Solution: 1. We asked the client to confirm the specific page where the translation was not completing. 2. We requested to view the custom PHP code that the client mentioned, which could be found in the Flatsome Child theme's
functions.php
file and a
custom-shortcode.php
file. We also inquired if the issue persists when the custom PHP code is temporarily removed. 3. We pointed out that the Advanced Translation Editor error log indicated an issue with the custom code and provided a link for the client to check it: Advanced Translation Editor error log. 4. We asked for confirmation on whether removing the custom code resolved the issue with the Advanced Translation Editor.
If this solution doesn't look relevant to your situation, please open a new support ticket here.
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.
Please update all WPML plugins to the latest version and see if it helps.
If the issue persits, I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.
Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.
Your upcoming reply will be treated with confidentiality and will only be visible to you and me.
✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.
I've checked this page hidden link that shows "update translation" and when I completed the translation, it showed the pencil icon on the translation status. This means the page is fully translation.
May I know which specific page are you having issues with completing the translation?
As i have also a problem with a UXbuilder (visual editor from theme we are using).
I've changed our theme from the child to parent theme and after that the translation status updated itself.
So there must be a problem with custom php code i've added to edit our product page.
I believe you've missed my response above. Anyway, could you tell me where can I see the PHP code that you're referring to? Does it work correctly when you temporarily remove that PHP code? Let me know how it goes.
I've seen your message above. I think at the moment you were checking our website. I had theme changed to the "Parent theme" thats why you could not see a problem.
Now after switching back to the child theme the problem i've reported seems to be solved.
So probably switching the themes back and fourth fixed/refreshed something?
Or turning on and off cache plugin?
If you want to see the custom php code it is visible in the Flatsome Chilt theme functions.php file in wordpress theme file editor.
And one more piece of code in: custom-shortcode.php file
I could see the Advanced Translation Editor error log is pointing to your custom code here hidden link . Could you check on it? If the issue is already resolved, you can safely ignore this error.
I didn't remove the code. But everything seems to be working fine. So i will leave it like this for now. We will investigate the php code further with the theme support.
Thank you for your help Kor - i will mark My issue as resolved.