Skip Navigation

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

Problem:
The client is trying to translate the website header using WPML, but only the original Polish version appears, not the translated versions.
Solution:
1. We recommend reading the documentation on creating multilingual layouts with Jupiter X and WPML, especially the section on "Setting Jupiter X Customization Options for Different Languages". This might help in saving customizations in other languages. Documentation links:
From the author
From us
2. Increase the PHP memory limit to at least 128M, preferably 256M, by adding the following code to your wp-config.php file:

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

More information on minimum requirements can be found here: WPML Minimum Requirements

If these steps do not resolve your issue, or if the solution 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. Additionally, you can open a new support ticket for further assistance 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.

This topic contains 1 reply, has 2 voices.

Last updated by Nicolas V. 10 months, 4 weeks ago.

Assisted by: Nicolas V..

Author Posts
June 4, 2024 at 3:04 pm #15702650

jakubK-40

Background of the issue:
I am trying to translate the header of my website using WPML. The header is being translated but is not displayed in language versions. Only the original Polish version appears. The issue can be seen on this page: hidden link

Symptoms:
The translated header is not displayed in language versions. Instead of the English version, the Polish version appears.

Questions:
Why is the translated header not displaying in the language versions?
How can I ensure the translated header appears correctly?

June 4, 2024 at 7:13 pm #15704121

Nicolas V.
Supporter

Languages: English (English ) French (Français )

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

Hi,

Welcome to the WPML support forum. Thanks for contacting us.

1. While waiting for one of my colleagues to help with this ticket, and based on what you've described, allow me to walk you through some initial documentation:
From the author: hidden link

From us: https://wpml.org/documentation/theme-compatibility/build-multilingual-websites-jupiter-x-theme-wpml/
Please read carefully the section "Setting Jupiter X Customization Options for Different Languages" and see if saving customizations in other languages resolves the issue.

2. Also, I've noticed your website has a low PHP memory allocation (40M). The minimum requirement for WPML is 128M but we recommend 256M:
- Access your server via FTP and open wp-config.php (in your WordPress root directory).
- Insert those lines just before /* That's all, stop editing! Happy blogging. */

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

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

3. I can see that you're also using Elementor. If your header is built with Elementor you will need to translate it.
- Go to "WPML > Translation Management"
- Search your header and translate it
See: https://wpml.org/documentation/plugins-compatibility/elementor/#translating-elementor-templates

Please let us know if the issue persist after that. Looking forward to hearing back from you.

Nico

June 17, 2024 at 10:48 am #15744796

jakubK-40

Thank you Nicolas! First method did indeed help! Much appreciated :).
I have also increased the memory limit as you have suggested.