Skip to content Skip to sidebar

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

Problem:
The client was unable to see changes on the translated WooCommerce homepage using WPML. The issue was that the translated content did not appear as expected, and there were concerns about the WP memory limit.
Solution:
1. We suggested checking the site from a different browser or device to rule out caching issues.
2. We recommended increasing the WP memory limit by adding the following lines to the wp-config.php file:

/* WP Memory Limit */<br />define('WP_MEMORY_LIMIT', '256M');<br />define('WP_MAX_MEMORY_LIMIT', '256M');

This code should be placed just before:

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

3. We identified that the content for the Shop page was actually being controlled from Appearance > Elements, not from the standard page backend. We advised the client to check if there was a translation for the Shop page and to duplicate it into Dutch using WPML > Translation Management.

Please note that this solution might be outdated or not applicable to your specific case. If these steps do not resolve your issue, 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. If the problem persists, please open a new support ticket 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.

Tagged: 

This topic contains 10 replies, has 2 voices.

Last updated by Mihai Apetrei 1 year ago.

Assisted by: Mihai Apetrei.

Author Posts
August 14, 2024 at 7:18 pm #16072317

patrickH-92

Background of the issue:
I am trying to translate the WooCommerce homepage for my site hidden link using WPML.

Symptoms:
I translated the homepage, but I don't see any changes.

Questions:
How is it possible that I translated the homepage but don't see any changes?

August 14, 2024 at 10:23 pm #16072658

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi there.

Before this ticket gets assigned to one of my colleagues, I will try to help.

I am able to correctly load and see the translation so maybe what you are seeing is a cached version. Can you please check the site from a different browser or device?

Please let us know how that goes.

Kind regards,
Mihai Apetrei

August 15, 2024 at 4:27 am #16072936

patrickH-92

the URL and woocommerce is Dutch, that's correct.
Only the header is not translated.

August 16, 2024 at 6:36 am #16076902

patrickH-92

sorry, that is the homepage, I mean the shop

Capture.PNG
August 16, 2024 at 10:36 pm #16079403

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi there.

Thank you for the update.

1. The WP memory limit needs to be increased as the minimum requirement for WPML is 128Mb WP Memory Limit: https://wpml.org/home/minimum-requirements/

❌ Very important: please make a backup of your site (files & database) before following any of the upcoming steps ❌

Please add this to your wp-config.php file to increase WP memory:

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

Paste it just before:

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

These settings can be limited directly by your hosting provider, so, if that’s the case, I recommend you contact and ask them to modify them directly. If you can get even higher values It would be great.


After they are modified, you can verify them from WPML >> Support page, just to make sure that they are correct.

2. Maybe there is some local/server/cdn caching active?

I would like to request temporary access (wp-admin and FTP) to your site so I can better examine the issue. The needed fields are below the comment area. When you log in to leave your next reply, the information you enter is private, meaning only you and I can see and access it.

Our Debugging Procedures

I will check various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to back up the site before providing us access. In the event that we do need to debug the site further, I will duplicate it and work in a separate, local development environment to avoid affecting the live site.

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 back up the site files and database before providing us access.

If you do not see the wp-admin/FTP fields, your post and 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

I will be waiting for your response.

PS: Please note that I won't be working over the weekend, but I will be able to get back to you at the beginning of next week.

Mihai

August 17, 2024 at 8:20 am #16079762

patrickH-92

I don't know why the memory limit still comes up, I fixed that weeks ago.

August 17, 2024 at 8:24 am #16079764

patrickH-92

Please enable the private box.

August 19, 2024 at 5:08 pm #16084756

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi there.

Please check below my reply and let me know if you can see it now.

Thank you.

August 19, 2024 at 5:25 pm #16084827

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi and thank you for the credentials.

I can confirm that I was able to log in successfully.

I am spending more time on this and I will get back to you as soon as I have more feedback.

I will leave the ticket assigned to myself for the moment.

August 21, 2024 at 8:40 pm #16092178

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi there.

I just wanted to get back to you and let you know that I did not forget about you 🙂

I am still debugging on this matter and as soon as I have any updates, I will get back to you as I promised.

The ticket remains assigned to me for now.

Mihai

August 28, 2024 at 1:03 pm #16115242

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi there.

Sorry for all the delay - unfortunately, it took me a pretty long time to understand how things work and how they are set up in the backend.

Normally, the content that is being server on a page should be created from inside the page backend (Pages > Shop - hidden link).

But in this case, it seems that the actual content for the Shop page comes from here: Appearance > Elements (hidden link)

So you can see that here, next to the "Shop" template, there's a "+" sign meaning that there is not translation created yet for that Shop page. So, that is probably why we get English content on the NL version.

Can you please take a look and see if that fixes the issue?

You should also be able to go to WPML > Translation Management > Filter by "Element" and search for "Shop" like you see in the screenshot I attached > and then you should be able to check the box next to it and then duplicate it into NL and that would allow you to go now to Appearance > Elements > change the flag at the top black bar to NL and then edit the duplicated Shop page and manually change the content to what you would like.

Please let me know how things go.

Mihai

Screenshot 2024-08-28 at 16.02.53.png
Screenshot 2024-08-28 at 16.00.36.png
August 28, 2024 at 7:49 pm #16116978

patrickH-92

Thanks, yes this works