Skip Navigation

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.

Solution:
We recommended the client to register the custom Elementor widgets for translation using the WPML Compatibility Test Tools plugin, as per the documentation: https://wpml.org/documentation/related-projects/wpml-compatibility-test-tools-plugin/registering-custom-elementor-widgets-for-translation/.

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.

Tagged: 

This topic contains 14 replies, has 2 voices.

Last updated by Bigul 1 year, 1 month ago.

Assisted by: Bigul.

Author Posts
April 1, 2024 at 4:24 pm #15470173

kaloyanB

I was able to translate the page except for a few words. See the screenshot.

15469376-1111.png
April 1, 2024 at 5:13 pm #15470384

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

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.

You may have to try the workaround suggested here due to custom Elementor Modules - https://wpml.org/documentation/related-projects/wpml-compatibility-test-tools-plugin/registering-custom-elementor-widgets-for-translation/

--
Thanks!

Bigul

15469376-1111.png
2024-04-01_22h42_34.png
April 3, 2024 at 10:27 am #15477414

kaloyanB

Hi,

I spoke with Porto theme support about the translation and answered me that:

--------------------------------------
Aizaz Awan
11 minutes ago

Hi,

This word is coming from the link below:
hidden link

hidden link

I have translated this for English as well but it is not showing translated:
hidden link

hidden link

Please ask the WPML support how to translate it from the template builder page.

Thanks.
--------------------------------------

One link/button remains to be translated.

button.jpg
April 3, 2024 at 3:32 pm #15479438

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

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.

--
Thanks!

Bigul

April 4, 2024 at 4:07 pm #15484808

kaloyanB

Ok, make a make a duplicator copy the site.

April 4, 2024 at 5:28 pm #15485155

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Thank you for the permission. I made a copy of the site. We will test it further locally and get back to you as soon as possible. Please wait.

--
Thanks!

Bigul

April 5, 2024 at 11:41 am #15487808

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

The issue exists after initial checks. So consulting with our team for an expert opinion. We will get back to you as soon as possible. Please wait.

--
Thanks!

Bigul

April 5, 2024 at 5:06 pm #15489192

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

The Project Post's button link shows the translated text after updating this template hidden link

Please check the URL and attached image for more details and let us know your feedback.

hidden link

Our compatibility team is still debugging this issue because it looks like a conflict with *porto_archive_posts_grid*.

--
Thanks!

Bigul

2024-04-05_22h34_01.png
April 8, 2024 at 6:03 am #15492484

kaloyanB

Hello,

In my version of the site, the project page is damaged.

hidden link

How is it in your copy?

I still can't get this button to translate.

Best Regards,
Kaloyan

April 8, 2024 at 9:09 am #15493222

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hi Kaloyan,

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?

--
Thanks!

Bigul

April 8, 2024 at 10:11 am #15493556

kaloyanB

I haven't made any changes. I see you've also translated the button. Can you put your copy on the site.

April 8, 2024 at 11:20 am #15493849

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hi Kaloyan,

Thank you for the updates. I am checking with our team now. We will get back to you as early as possible. Please wait.

--
Thanks!

Bigul

April 8, 2024 at 4:00 pm #15495462

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hi Kaloyan,

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.

--
Thanks!

Bigul

April 9, 2024 at 6:33 am #15496790

kaloyanB

I fixed the page, but this button is not translated again. How do I translate it? How did you translate it?

hidden link

April 9, 2024 at 10:24 am #15498284

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hi Kaloyan,

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

image1.png
image.png
2024-04-09_15h39_57.png