Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- - 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00
- - - - - - -

Supporter timezone: America/Lima (GMT-05:00)

This topic contains 9 replies, has 2 voices.

Last updated by Andreas W. 1 year, 6 months ago.

Assisted by: Andreas W..

Author Posts
October 24, 2024 at 7:21 pm #16328178

tailinS

Background of the issue:
I am trying to translate the header and footer section of my site, hidden link, into Chinese using WPML. I have attempted to use the string translation feature.

Symptoms:
The string translation does not allow translation of the header and footer sections. The 'Select translation options' is not working in string translation.

Questions:
How can I translate the header and footer sections using WPML?
Why is the Select translation options not working in string translation?

October 25, 2024 at 3:18 am #16328898

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Divi Templates will need to get translated with WPML Translation Management.

Go to WPML > Translation Management > Dashboard and use the post type filter on the top left to select Header, Body or Footer Templates.

Create one job for each template, then access the jobs at WPML > Translation and translate the templates with the WPML Translation Editor.

You will not be able to edit the translations for those templates at WPML > String Translation.

Best regards
AndreasHello,

Divi Templates will need to get translated with WPML Translation Management.

Go to WPML > Translation Management > Dashboard and use the post type filter on the top left to select Header, Body or Footer Templates.

Create one job for each template, then access the jobs at WPML > Translation and translate the templates with the WPML Translation Editor.

You will not be able to edit the translations for those templates at WPML > String Translation.

Best regards
Andreas

October 26, 2024 at 12:39 am #16332653

tailinS

When I go to the WPML > Translation and try to translate the templates with the WPML Translation Editor, it just show me an empty page with nothing to edit. Why might that be the case?

Screenshot 2024-10-25 at 5.37.39 PM.png
October 26, 2024 at 2:47 am #16332714

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hi,

It seems that the minimum requirements are not met on the server:
https://wpml.org/en/home/minimum-requirements/

Could you please increase the WordPress memory limit (WP Memory Limit) to at least 256 MB? WPML requires at least 128M.

Your current values ​​are:

PHP MemoryLimit 2048M

WP Memory Limit 40M

You need to connect to your website's server and open the wp-config.php file in a text editor. The file is located in the WordPress root directory.

Add this code to the wp-config.php file to increase WordPress memory:

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

Add this just before this comment:

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

The current values ​​can be viewed under WPML > Support > WordPress.

These settings can be restricted directly by your hosting provider. Therefore, I recommend contacting them and asking them to change them directly if the changes are not applied immediately.

If adjusting the limit will not solve the issue, please let me know and I will be glad to investigate this issue further.

Best regards
Andreas

October 31, 2024 at 9:12 pm #16353387

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

The current memory usage is almost at the same amount of the set memory limit. See screenshot.

Would you like me to install a File Manager Plugin and adjust the limit?

memory limit.jpg
November 2, 2024 at 1:22 am #16356298

tailinS

yes, if that Is needed please do! please let me know if I will be able to edit the footer and header after installing. Thanks

November 4, 2024 at 2:04 pm #16361439

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

I have adjusted the memory limit but the issue seems to have a different cause.

WPML > Translation is showing an empty screen.

Could you please take a backup of the site and its database and then update the Divi Theme and run all available plugin updates.

If this will not solve the issue, please let me know.

November 8, 2024 at 12:49 am #16380286

tailinS

I have updated everything and the problem seems to persist.

November 8, 2024 at 12:57 am #16380300

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

If you agree, I will use "WP All In One Migration" to create a local copy of your site for testing.

November 8, 2024 at 7:28 pm #16383365

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

On my local copy of your site the translation queue is available. See screenshot.

At the moment it is unlear to me, which I see various JavaScript Errors on your live site, but those errors are not appearing on my local copy.

Would it be possible for you to set up a staging site on the same server for running further tests?

The private reply form is enabled again.

test.jpg

The topic ‘[Closed] cannot translate header and footer’ is closed to new replies.