Skip Navigation

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

Problem:
You are unable to translate the text in the carousel slides on your homepage, which are created using a plugin.
Solution:
We recommend adding a custom XML configuration to enable the translation of the carousel text fields. Follow these steps:
1. Navigate to WPML -> Settings -> Custom XML Configuration.
2. Add the following code:

<wpml-config>
  <shortcodes>
    <shortcode>
      <tag>dnxte_coverflowslider_child</tag>
      <attributes>
        <attribute encoding="allow_html_tags">coverflowslider_alt</attribute>
        <attribute encoding="allow_html_tags">coverflowslider_text</attribute>      
        <attribute encoding="allow_html_tags">coverflowslider_content</attribute>
      </attributes>
    </shortcode>
  </shortcodes>
</wpml-config>

3. Make a minor change to the original page (e.g., add an empty space) and save it.
4. Update the translation, and you should see the carousel fields available for translation.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we highly recommend checking 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 further assistance is needed, please open a new support ticket at WPML support forum.

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

Last updated by Mateus Getulio 4 months ago.

Assisted by: Mateus Getulio.

Author Posts
September 5, 2024 at 4:07 pm

julieb-9

Background of the issue:
I have a carrousel on the homepage, made with a plugin. I cannot translate the text in the slides.

Symptoms:
Carrousel strings not included

Questions:
How can I translate the text in the carrousel slides?

September 5, 2024 at 5:04 pm
September 5, 2024 at 5:05 pm #16146180

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello Julie,

As we discussed in chat, please use the login link to replicate the issue with the Carousel:

hidden link

A single test carousel will be enough for what we need.

Thank you.
Mateus

September 5, 2024 at 6:01 pm #16146362

julieb-9

hey I tired something and it seems to work : I switch the website to english and activated the visual builder. I can translate the slides and save and it works... is it possible or will it get overrite back to french eventually since its not made in the WPML translation system?

September 5, 2024 at 6:06 pm #16146370

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

You can try to edit the English translation using WPML's Advanced Translation Editor. Finish the translation up to 100% and save it to see if it will eventually override the manual translation of the carousel that you performed.

September 5, 2024 at 6:09 pm #16146374

julieb-9

Okay I understand. So if I dont touch the translation in the WPML translator, I can have my slides in english for my client's event next week... and we can find anither solution after that?

September 5, 2024 at 6:27 pm #16146431

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Yes, that'd work. We can work in parallel in the staging site to find a fix for the issue that can be applied to the live site afterwards.

September 5, 2024 at 6:28 pm #16146435

julieb-9

That's a good plan guys! Lets do that. I will add the carrousel before the end of the week on your space.

September 5, 2024 at 8:51 pm #16146857

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Awesome, please keep us posted.

In the meantime I'm marking the case as pending.

Thank you.

September 7, 2024 at 12:49 pm #16151283

julieb-9

hidden link
Carrousel is in place, you can test it

September 9, 2024 at 11:48 am #16155952

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

Thank you for reproducing the issue to the sandbox.

I checked this out but so far I couldn't find a fix for it.

I asked my colleagues to have a look at this issue in order to see if there's anything I'm missing.

I'll come back here as soon as one of my colleagues reply back to me (which it shouldn't take long).

Thanks,

September 9, 2024 at 4:16 pm #16157771

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello Julie,

Upon further review, our 2nd tier support team was able to find an XML code to include those fields for translation.

Please go to WPML -> Settings -> Custom XML configuration and add the following code:

<wpml-config>
  <shortcodes>
    <shortcode>
      <tag>dnxte_coverflowslider_child</tag>
      <attributes>
        <attribute encoding="allow_html_tags">coverflowslider_alt</attribute>
        <attribute encoding="allow_html_tags">coverflowslider_text</attribute>      
        <attribute encoding="allow_html_tags">coverflowslider_content</attribute>
      </attributes>
    </shortcode>
  </shortcodes>
</wpml-config>

After that, please make a minor change to the original page, add an empty space for example and save it.

Update the translation and you should see the carousel fields available for translation now.

We performed these steps in the sandbox and we've been able to translate those fields in there.

Thank you, please let me know if you need help with those steps.

Mateus

September 12, 2024 at 12:34 pm #16170961

julieb-9

You guys are great!
My client is at a big event in the US this week so I'm gonna wait until Monday to test this on the live website. Is it okay?

September 12, 2024 at 8:55 pm #16173531

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey Julie,

That is absolutely fine.

Let me mark here as pending until I hear back from you with the results of the tests.

Thank you.

September 19, 2024 at 7:00 pm #16200616

julieb-9

Thank you so much for your help guys, it seems to work perfectly 😀