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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - -
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - -

Supporter timezone: Asia/Jerusalem (GMT+02:00)

Tagged: 

This topic contains 0 replies, has 2 voices.

Last updated by Itamar 3 days, 7 hours ago.

Assisted by: Itamar.

Author Posts
November 14, 2024 at 10:18 am #16401551

sabiner-12

Background of the issue:
I am trying to translate a page on my website using WPML, but some elements do not show up in the editor. The website is hidden link, and I need the translation to be simple for my client to handle later.

Symptoms:
Missing fields for translation in the editor, specifically elements like Button, Icon with text, and quotes. These elements are not found in the string translation either.

Questions:
How can I make all text and URLs available for translation in the editor?
Why are some elements like Button and Icon with text not showing up for translation?

November 14, 2024 at 10:53 am #16401772

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

As a first step, please increase the WP Memory Limit for your WordPress installation. The debug info you attached shows that your server WP Memory Limit is 40M. Our recommendations are to have the following as minimal requirements:

- PHP 7 and above (this OK with your installation) with a WP Memory Limit of at least 128MB while 256MB is recommended.

MySQL 5.6 and above.

Please follow this link for detailed documentation:

https://wpml.org/home/minimum-requirements/

Is it possible for you to change those to the minimum requirement?

You may need to contact your hosting provider for that. Meeting those baseline requirements is critical before debugging and sometimes solves issues you experience. The most important thing is to raise the WP Memory Limit. Please try to raise it before you contact your hosting company. You can do it from the wp-config.php file in your WordPress installation. Insert this code in that file:

/** Memory Limit */
define('WP_MEMORY_LIMIT', '256M');
define( 'WP_MAX_MEMORY_LIMIT', '256M' );

Add it before this line:

/* That's all, stop editing! Happy blogging. */

Could you please perform that procedure and see if it helps?

If it does not help, the issue might be unsupported elements from the The7 Elements plugin.

Are you designing your site's pages using this plugin?

If so and you need further help with this, please share the access details to your site with me.

Please tell me which page to check to see the problem.

I'm enabling a private message for the following reply.
Privacy and Security Policy
We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/
**IMPORTANT**
- - Please backup the site files and database before providing us access. --
-- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.--

Regards,
Itamar.

November 17, 2024 at 4:29 pm #16411888

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

You didn't provide me with a link to a page or a post where I can see this issue. However, I can see it in this post.

hidden link

This seems to be a problem with the "Icon with text" element. Please see the attached screenshot.

Although the translation seemed completed (the pencil icon showed), when I edited it, I could see only 91% completed. When I used the search box to search for text with the missing translation, I could find it. Please see the attached screenshot.

Please edit the translation, search for the missing text, and complete it again to be 100% completed. Then, check if the translations show.

Regards,
Itamar.

2024-11-17_18-10-33.jpg
2024-11-17_18-17-51.jpg
November 19, 2024 at 8:09 am #16417929

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

Our second-tier supporter asked me to replicate this problem on a new page.

Can we create a test page on your site with the "Icon with text" element to see if we can recreate this problem?

Thanks,
Itamar.

November 20, 2024 at 1:32 pm #16424835

sabiner-12

Hi and thank you for your answer i can see the missing fields on the page you sent me.

But the problem on another page where i can't find the missing fields (icon with text again) :

hidden link

hidden link

Yes feel free to create a test page or test post.
I'll try to be quicker to answer.

Thanks again

November 21, 2024 at 7:48 pm #16431002

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

I've added the following XML to WPML -> Settings -> Custom XML Configuration.

<wpml-config>
  <shortcodes>
    <shortcode>
      <tag>
        dt_icon_text
      </tag>
      <attributes>
        <attribute>dt_text_title</attribute>
        <attribute>dt_text_desc</attribute>
        <attribute>button_text</attribute>
      </attributes>
    </shortcode>
  </shortcodes>
</wpml-config>

On my hidden link">test page, it allowed me to search for the text and translate it through the Advanced Translation Editor, as we already saw possible in the first page. However, on the second page you shared, it is still impossible to translate the Icon with Text. This is weird, and I'm consulting our second-tier supporter about it.

Meanwhile, we want your help installing The7 Elements plugin on a sandbox site so we can investigate this issue further and escalate it to our compatibility team.

Can you please install it on the test site here?

hidden link

Thanks,
Itamar.

November 22, 2024 at 9:35 am #16432860

sabiner-12

EDIT : i install the theme but i do not have a licence code working...

thank you for your help i'll check on the website to see if i can translate what's left.
Let me know if you need anything else

November 24, 2024 at 3:42 pm #16437235

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

Our second-tier supporter fixed this issue on your site. He noticed that it was a caching issue. After deleting the translation and translating it again, the missing texts appeared for translation. Please see the attached screenshot.

hidden link

I also tested it on the test page I created.

hidden link

Can you please confirm that this problem is fixed now?

Thanks,
Itamar.

2024-11-24_17-37-25.jpg