[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.
Please check it now. The English Project Page button is showing the expected results after the following steps.
1) Visit WPML>>Settings>>Custom XML Configuration
2) Add the following WPML language configuration and save it
<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>
3) Update the following template to refresh the translation settings
hidden link
4) Update the translation
5) Translate the *porto_archive_posts* id from WPML>>String Translation
--
Thanks!
Bigul
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.