Skip Navigation

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

Problem:
The client was unable to translate the logo and was losing the header image and page title when switching from Greek to English on their Elementor-based website.

Solution:
We recommended registering the custom Elementor widgets for translation by following these steps:
1. Navigate to WPML > Settings > Custom XML Configuration, paste the provided XML code, and save.

<wpml-config><br />  <elementor-widgets><br />    <widget name="dermaclear_core_section_title"><br />      <fields><br />        <field>title</field><br />        <field>text</field><br />        <field>content_alignment</field><br />        <field>subtitle_margin_bottom</field><br />        <field>enable_animation</field><br />      </fields><br />    </widget><br />    <widget name="dermaclear_core_icon_with_text"><br />      <fields><br />        <field>layout</field><br />        <field>title</field><br />        <field>text</field><br />        <field>icon_type</field><br />        <field>custom_icon>url</field><br />        <field>custom_icon>id</field><br />        <field>custom_icon>alt</field><br />        <field>custom_icon>source</field><br />        <field>title_tag</field><br />        <field>title_margin_top</field><br />        <field>retina_scaling</field><br />      </fields><br />    </widget><br />    <widget name="heading"><br />      <fields><br />        <field>title</field><br />        <field>header_size</field><br />        <field>title_color</field><br />      </fields><br />    </widget><br />    <widget name="text-editor"><br />      <fields><br />        <field>editor</field><br />        <field>text_color</field><br />      </fields><br />    </widget><br />  <elementor-widgets><br /></wpml-config>

2. Confirm that the screen matches the provided image.
3. Make a minor edit to the page at https://katranadermatology.gr/ipiresies/, such as adding a blank space at the end of a text block, and save.
4. Edit the translations, where the texts should now be registered for translation.

If this solution does not apply to your case because it is outdated or not relevant to your specific situation, we recommend checking the related 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.

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.

This topic contains 5 replies, has 2 voices.

Last updated by Lucas Vidal de Andrade 10 months, 2 weeks ago.

Assisted by: Lucas Vidal de Andrade.

Author Posts
February 6, 2024 at 7:43 am #15269144

tasosC

I'm building the site hidden link.
It uses a template based on Elementor. Installed WPML and started translating the site from Greek (the original language) to English.
The problem is that I can't translate the logo although I put a new image as translation of the logo, it doesn't change.

Also, in every page when I switch to English I lose the header image and the page title. Although they appear in Greek, in English it's blank.

You can see the problem here:
hidden link

when I change to the english version, here:
hidden link

The things I mention above disappear.

February 6, 2024 at 5:47 pm #15273339

Lucas Vidal de Andrade
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

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

Hello,

Welcome to the WPML support. It's important that you make sure your Elementor-built header is properly translated. Plase check this documentation:
https://wpml.org/documentation/plugins-compatibility/elementor/#translate-elementor-templates

Furthermore, I checked your debug info and noticed that your website doesn't have the minimum memory required for WPML to work. WPML requires a memory limit of at least 128MB while 256MB is recommended. See https://wpml.org/home/minimum-requirements/ for detailed information. You can set WP Memory Limit in your wp-config.php file by adding following code:

define( 'WP_MEMORY_LIMIT', '256M' );
define( 'WP_MAX_MEMORY_LIMIT', '512M' );

See:

https://wordpress.org/support/article/editing-wp-config-php/#increasing-memory-allocated-to-php

for details. Increasing WP Memory may help improve the performance and sometimes also help resolving such issues.

February 6, 2024 at 6:06 pm #15273412

tasosC

Checked the link but cannot find anything in the place it told me.

Also Added the code in the wp-config.php. Any other idea?

February 6, 2024 at 6:42 pm #15273557

Lucas Vidal de Andrade
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

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

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to a testing site where the issue is replicated.

You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.

IMPORTANT

- Please make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:

hidden link

February 7, 2024 at 2:35 pm #15277138

Lucas Vidal de Andrade
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

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

Hello,

After investigating your website, I found out that your theme is not fully compatible with WPML. That's probably the reason some texts and your header are not being registered for translation. I've sent your ticket to our compatibility team, which will look for a workaround or for a solution. That usually takes a few days.

As soon as I have new information, I'll let you know. Have a lovely day 🙂

February 16, 2024 at 2:31 pm #15312055

Lucas Vidal de Andrade
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

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

Hello,

Thank you for your patience. After further investigating your issue, we found out that some Elementor widgets being used with your theme were actually custom widgets. To register them for translation, please follow these steps:

1. Go to WPML > Settings > Custom XML Configuration, paste the following code and save:

<wpml-config>
  <elementor-widgets>
    <widget name="dermaclear_core_section_title">
      <fields>
        <field>title</field>
        <field>text</field>
        <field>content_alignment</field>
        <field>subtitle_margin_bottom</field>
        <field>enable_animation</field>
      </fields>
    </widget>
    <widget name="dermaclear_core_icon_with_text">
      <fields>
        <field>layout</field>
        <field>title</field>
        <field>text</field>
        <field>icon_type</field>
        <field>custom_icon>url</field>
        <field>custom_icon>id</field>
        <field>custom_icon>alt</field>
        <field>custom_icon>source</field>
        <field>title_tag</field>
        <field>title_margin_top</field>
        <field>retina_scaling</field>
      </fields>
    </widget>
    <widget name="heading">
      <fields>
        <field>title</field>
        <field>header_size</field>
        <field>title_color</field>
      </fields>
    </widget>
    <widget name="text-editor">
      <fields>
        <field>editor</field>
        <field>text_color</field>
      </fields>
    </widget>
  </elementor-widgets>
</wpml-config>

2. Your screen should look like the one in the image attached.
3. Now go to the hidden link page, make a small change and save. A blank space can be added at the end of a text block.
4. Edit the translations. The texts should now be registered for translation.

Please let me know if you need any further assistance 🙂

Settings _ _______ _____ - ____________ _ WordPress · 11.24am · 02-16.jpeg