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: Documentation request
This topic contains 11 replies, has 2 voices.
Last updated by Lucas Vidal de Andrade 1 year, 1 month ago.
Assisted by: Lucas Vidal de Andrade.
Author | Posts |
---|---|
April 10, 2024 at 11:11 am #15504114 | |
lilyB |
I am trying to: after updating all my plugins and theme I noticed the translated pages were a mix of Italian (translated language) & English (original language). Link to a page where the issue can be seen: hidden link I expected to see: content in Italian that I had added to the page Instead, I got: a mix of English blocks & Italian blocks. In the editor the blocks say "This block was translated via WPML..." I even tried deleting & re-creating blocks on the Italian page but they just get overwritten again with the English blocks. I tried using advanced editor & classic editor in the WPML settings, but that doesn't resolve the problem either. |
April 11, 2024 at 11:18 am #15508746 | |
Lucas Vidal de Andrade WPML Supporter since 11/2023
Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hello, It might be that this is causing by the memory. . I checked your debug info and noticed that your website doesn't have the minimum memory required for WPML to work. WPML requires a memory limit of at least 128MB while 256MB is recommended. See https://wpml.org/home/minimum-requirements/ for detailed information. You can set WP Memory Limit in your wp-config.php file by adding the following code: define( 'WP_MEMORY_LIMIT', '256M' ); define( 'WP_MAX_MEMORY_LIMIT', '512M' ); See: https://wordpress.org/support/article/editing-wp-config-php/#increasing-memory-allocated-to-php for details. Increasing WP Memory may help improve the performance and sometimes also help resolving such issues. Let me know if that solves it. Please, also make sure to empty all caches before checking the content, as it might as well influence that. |
April 11, 2024 at 1:09 pm #15509473 | |
lilyB |
Thanks for replying. I increased the memory limits and turned off any cache I could find but the problem still occurs. As soon as I modify something on the English page, the Italian page content switches to English on some blocks. |
April 11, 2024 at 4:41 pm #15510511 | |
Lucas Vidal de Andrade WPML Supporter since 11/2023
Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hello, Thank you for sharing. Since you are using manual translation, it's possible that the translation is a duplicate of the original. If that's the case, it's expected that the translation gets overwritten by the original, when the original content is updated. Please refer to this documentation for more details: If the document is a duplicate, you should be able to see the "Translate independently" option in the Language options inside the page. See attached image. Let me know if that solves it for you. |
April 11, 2024 at 5:57 pm #15510685 | |
lilyB |
I followed those instructions but the issue persists. I don't see a "translate independently" button under languages. |
April 12, 2024 at 11:40 am #15512721 | |
Lucas Vidal de Andrade WPML Supporter since 11/2023
Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hello, It seems that the problem is something else. I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to a testing site where the issue is replicated. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it. Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you. IMPORTANT - Please make a backup of site files and database before providing us access. hidden link |
April 12, 2024 at 3:57 pm #15513501 | |
Lucas Vidal de Andrade WPML Supporter since 11/2023
Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hello, Thank you for sharing the access. I was checking your website in a local copy, and was able to fix the issue in the page you sent as an example. There was a corrupted image on the page that when I deleted, the translation worked again. Please make a full website Backup and follow these steps: 1. Delete the image in the original version of the page (see image attached) and save; 5. Translate the content normally; You can add a new image element, if you wish. It's important that this is specific block is completely deleted. Please let me know if that solves the issue for you as well. May that not be the case, I'll be here to further support you 🙂 |
April 15, 2024 at 8:34 am #15518038 | |
lilyB |
Deleting the image in the original page seems to have fixed the problem. |
April 15, 2024 at 9:42 am #15518696 | |
lilyB |
Sorry, I thought the problem was solved but it isn't. Everything seemed fine except I noticed that the "VIEW MORE" in the toolset view was in english. So translating a string in the view seems to be somehow causing the issue... |
April 15, 2024 at 3:35 pm #15521187 | |
Lucas Vidal de Andrade WPML Supporter since 11/2023
Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hello, I checked your website again, and saw that you uploaded the image using dynamic sources. That seems to be what's causing the issue. Please delete the dynamic source image (the one that has the red outline) and upload the image via the regular image element from WordPress. See image attached. Do that both in the original and in the translation. Please let me know if it works that way. |
April 15, 2024 at 4:07 pm #15521318 | |
lilyB |
I don't think it's just the Toolset image that's causing the problem. |
April 15, 2024 at 6:25 pm #15521600 | |
Lucas Vidal de Andrade WPML Supporter since 11/2023
Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hello, I'm sorry that didn't resolve your issue. I checked the example you sent, made a small change to the English version, and the Italian version stayed as it is. So I can better understand the issue, could you please send me a video where I can see the error? Loom is a great free tool for screen recording, in case you want a recommendation 🙂 |
April 15, 2024 at 6:33 pm #15521606 | |
lilyB |
I tried again and this time the Italian isn't changing! |