Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:

I'm trying to translate a elementor loop template. I went to the dashboard in WP then to elementor templates and translated the template from englis to spanish. When translating the template, there appears only one word to be translated and there is missing text to translate. Also, the word that I could translate is not displayig translated in the front end.

Solution:

I checked the issue and found that the English loop was chosen on the Spanish team page, so I selected the correct loop

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 8 replies, has 2 voices.

Last updated by adrianS-47 1 year, 10 months ago.

Assisted by: Osama Mersal.

Author Posts
June 4, 2023 at 2:54 pm #13766035

adrianS-47

Tell us what you are trying to do?

I'm trying to translate a elementor loop template. I went to the dashboard in WP then to elementor templates and translated the template from englis to spanish. When translating the template, there appears only one word to be translated and there is missing text to translate. Also, the word that I could translate is not displayig translated in the front end. I will attach screenshots.

If you see front end, you will see there is missing ''Nationality'', ''Position'', ''Diving level''

Is there any documentation that you are following?

Can't find any

Is there a similar example that we can see?

I couldn't find any

What is the link to your site?

hidden link

2023-06-04_15h32_07.png
2023-06-04_15h31_21.png
June 5, 2023 at 8:55 am #13768181

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
– preferably to a test site where the problem has been replicated if possible –
in order to be of better help and check if some configurations might need to be changed.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

✙ I would need your permission to de-activate and re-activate the Plugins and the Theme and change configurations on the site. This is also a reason the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

June 8, 2023 at 7:46 am #13790683

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

1) Thanks for the access details. I checked the issue and found that the English loop was chosen on the Spanish team page, so I selected the correct loop. Kindly check the page and let me know if it works correctly. (hidden link)

2) For the loop missing strings in the translation editor, you might need to register the Price List widget for translation. After that, you will be able to translate them via the translation editor. Kindly check our guide about registering page builder widgets. (https://wpml.org/documentation/support/language-configuration-files/how-to-register-page-builder-widgets-for-translation/)

Alternatively, you can edit the Spanish loop using Elementor and translate the strings manually.

I hope this helps you. If you need further info, please let me know.

Best regards,
Osama

June 9, 2023 at 1:39 pm #13800021

adrianS-47

Hi. Thanks for your support.

1) The first issue has been solved. Related to it, I suppose that if I add new languages it will continue to work and I won't have to change any settings?

2) The second issue, regarding widget translation fot the pricelist.
2.1) I followed the documentation and got some progress
2.2) I've added the following code in the 'custom xml configuration'

<wpml-config>
  <elementor-widgets>
    <widget name="price-list">
      <conditions>
      	<condition key="widgetType">price-list</condition>
      </conditions>
      <fields-in-item items_of="price_list">
          <field type="price-list: Title" editor_type="LINE">title</field>
          <field type="price-list: Price" editor_type="LINE">price</field>
      </fields-in-item>
    </widget>
  </elementor-widgets>
</wpml-config>

2.3) The added code did some changes when I try to translate the loop. I have more options now to translate but not the options that I expected. I attach screenshot

Affected front-end url: hidden link

2023-06-09_14h33_14.png
June 9, 2023 at 5:09 pm #13801433

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for your update. Please login to this sandbox site and install Elementor. (hidden link)

After that, please create a page using the same Price List widget and translate it to replicate the issue. If the issue is replicable, please let me know how to reproduce it to consult our compatibility team.

Thanks,
Osama

June 12, 2023 at 3:24 pm #13810935

adrianS-47

Hi, thanks for your reply.

I will give it a try but i'm actually working on another work-around now. I realized I've had two custom post types plugin and i'm re-doing all using only ACF

But, menawhile, what about the first question with the loop? You solved it by selecting the correct loop. How can I do it myself? I have another loop and I'm having the same issue again.

Thanks

June 12, 2023 at 3:27 pm #13810945

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

In order to select the correct template, please edit the translated page using Elementor and select the template.

Best regards,
Osama

June 12, 2023 at 3:29 pm #13810947

adrianS-47

The affected loop this time is in the url: hidden link
Again, when I translate it to spanish it still display it in english (some of the strings)