Skip Navigation

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.

WordPress 6.7 has introduced a new issue that impact translations, please update WooCommerce and WPML to the latest versions before you report issues. More about this here - https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/
Sun Mon Tue Wed Thu Fri Sat
9:00 – 15:00 9:00 – 15:00 9:00 – 15:00 9:00 – 15:00 9:00 – 15:00 - -
- - - - - - -

Supporter timezone: Asia/Yerevan (GMT+04:00)

This topic contains 3 replies, has 0 voices.

Last updated by Christopher Amirian 1 week, 6 days ago.

Assisted by: Christopher Amirian.

Author Posts
November 7, 2024 at 8:53 am #16375551

tobiasT-29

Background of the issue:
I am trying to translate the site hidden link using WPML. The developer of the Elementor theme confirmed that the theme is compatible with translation plugins, but he is not familiar with WPML setup. The theme includes custom blocks for Elementor.

Symptoms:
The content from custom theme blocks does not show up in WPML.

Questions:
How can I make the content from custom Elementor blocks appear in WPML?

November 7, 2024 at 9:11 am #16375806

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

The chat was disconnected and I turned it to this ticket.

I finished installing and setting up WordPress, WPML, Elementor, Elementor Pro. You can access the dashboard here:

hidden link

What I need you to do is as follows:

- Install the Renix Theme.
- Install any core plugin that the theme needs for functionality.
- Create a new page and add a simple custom widget that the theme has.
- Get back to us with the link of the page and we will follow up

After that please reply back here in the ticket.

It may take time but I will do my best to handle one custom widget and tell you what I did.

Then please contact the theme developer and inform them about the go global program here:

https://wpml.org/documentation/support/go-global-program/

And tell them that the way we made that specific custom widget compatible with WPML was to use the doc below:

https://wpml.org/documentation/plugins-compatibility/elementor/how-to-add-wpml-support-to-custom-elementor-widgets/

Thank you.

November 7, 2024 at 9:16 am #16375826

tobiasT-29

hidden link

November 7, 2024 at 10:33 am #16376267

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Thanks, I checked and you can add the code below to make the Accordion description and title and category translatable:

<wpml-config>
  <elementor-widgets>
    <widget name="mk_services_accordion">
      <fields-in-item items_of="accordion_list">
        <field>desc</field>
        <field>category</field>
        <field>title</field>
        <field>bg_image>id</field>
        <field>bg_image>url</field>
      </fields-in-item>
    </widget>
  </elementor-widgets>
</wpml-config>

Please add it to WPML > Settings > Custom XML Configuration (tab)

More detailed compatibility should be handled by the developer of the theme. And the config above can be a good starting point.

Thanks.

November 11, 2024 at 10:36 am #16387911

tobiasT-29

Hi,

We tried contacting our plugin developer, but they are of little help.

They said:
"The current setup does make individual translations quite complex. I recommend trying Loco Translate in combination with Polylang for a multilingual site, as this approach might be easier to manage and offers similar functionality."

How advanced is this process for a user like me, who doesn't know the specific code of the theme?

November 11, 2024 at 12:24 pm #16388498

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

I do not think that it is something that can be done without having knowledge of the code for the Elements.

That is disappointing that they are not cooperating as we have a program which will help them to achieve the compatibility and having the starter documentation below which you can also try:

https://wpml.org/documentation/plugins-compatibility/elementor/how-to-add-wpml-support-to-custom-elementor-widgets/

Having said that, the only option that I can offer at this stage is for you to use the manual translation, that means you will lose the ability to use automatic translation and the advanced translation editor, and basically you will create a copy of the page n the other language and do the changes in translation inside Elementor for that language.

You can learn more about that here:

https://wpml.org/documentation/translating-your-contents/using-different-translation-editors-for-different-pages/

Thanks.