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.

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: Europe/Tirane (GMT+02:00)

This topic contains 1 reply, has 2 voices.

Last updated by Marsel Nikolli 3 months, 1 week ago.

Assisted by: Marsel Nikolli.

Author Posts
August 25, 2024 at 8:57 am #16101077

yordanC

Background of the issue:
I have a problem with the plugin's functions. I have translated most of the pages on the website into two languages. The primary language is English. When I open the page at the bottom where the languages are listed, it only shows English (the other two languages are missing). When I try to manually enter the language in the link (hidden link), it shows a 404 error page. Another thing I've noticed is that when I go to WP > Pages and select the + sign for the corresponding language, it opens the translation page where I can see that I have translated the entire page to 100%. After I confirm it, the page loads with all the WP pages, and for the corresponding language, it shows a 'pencil' icon which means I can edit the translation. However, when I refresh the page with F5, the 'pencil' icon disappears and is replaced with a + sign.

Symptoms:
Translated pages are not showing in the language switcher, and manually entering the language URL results in a 404 error. The 'pencil' icon for editing translations disappears after refreshing the page and is replaced with a + sign.

Questions:
How can I make the translated pages appear in the language switcher?
Why does manually entering the language URL result in a 404 error?
Why does the 'pencil' icon for editing translations disappear after refreshing the page?

August 26, 2024 at 7:43 am #16102933

Marsel Nikolli

Hi,

Thank you for contacting WPML Support, I will gladly help you.

According to your debug info, the WP memory limit needs to be increased, WordPress uses 40Mb as default and the minimum requirements for WPML are 128 MB. Kindly check this page for more information.

You can increase it by adding the following code in your wp-config.php file right before the line: /* That's all, stop editing! Happy publishing. */

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

* Note: Please make sure you have a full backup of your website before making any updates/changes to your website.

After increasing the memory limit please try translating the page and check if the issue persists.

Let me know how it goes,
Marsel

The topic ‘[Closed] Problem with translation’ is closed to new replies.