[Resolved] How do I translate the strings of this page
This thread is resolved. Here is a description of the problem and solution.
Problem: The client was unable to translate a few words on a page, even after using WPML's Advanced Translation Editor. The untranslated strings were part of templates created with the Porto Templates Builder and custom Elementor/Porto Modules.
Additionally, we provided a custom XML configuration to be added in WPML settings to ensure the strings from the custom modules are available for translation:
<wpml-config>
<elementor-widgets>
<widget name="porto_archive_posts_grid">
<fields>
<field type="ID of the template">builder_id</field>
</fields>
</widget>
</elementor-widgets>
</wpml-config>
The client was instructed to: 1) Go to WPML>>Settings>>Custom XML Configuration. 2) Add the provided WPML language configuration and save it. 3) Update the specified template to refresh the translation settings. 4) Update the translation. 5) Translate the *porto_archive_posts* id from WPML>>String Translation.
If the solution provided is not relevant due to being outdated or not applicable to your case, we highly recommend checking the related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please open a new support ticket: Contact WPML Support.
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.
Welcome to the WPML support forum. I will do my best to help you to resolve the issue.
The strings you have mentioned are added by the following templates created using the Porto Templates Builder.
hidden link
hidden link
hidden link
Because of custom Elementor/Proto Modules, those words are not listed for translation in WPML Advanced Translation Editor. Additionally, the Header template is missing the Heading and Bread Crumb settings. So please let us know how you've set it up.
Thank you for the updates. This requires further testing. So please allow me to make a duplicator copy of your site using the Duplicator plugin(https://wordpress.org/plugins/duplicator/) for debugging the issue on my local server. It will help us to troubleshoot the bug without affecting your live site.
Thank you for the updates. It is working fine in our local copies and also the translation was showing as expected in your site on Friday. Please check the following screenshot.
hidden link
Have you made any changes on the site after Friday?
We made the Duplicator copy of the site without the media items. So it will not be safe to restore.
It appears that the Project Template settings have been changed. Previously, it displayed the expected results in both languages when we shared the updates with you. Therefore, I kindly request that you take a full site backup, recreate the Project Post Type template, and verify whether it functions as expected.