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 |
---|---|---|---|---|---|---|
- | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | - |
- | 12:00 – 16:00 | 12:00 – 16:00 | 12:00 – 16:00 | 12:00 – 16:00 | 12:00 – 16:00 | - |
Supporter timezone: Europe/Zagreb (GMT+01:00)
Tagged: Bug
This topic contains 0 replies, has 0 voices.
Last updated by Dražen 1 week, 3 days ago.
Assisted by: Dražen.
Author | Posts |
---|---|
January 6, 2025 at 10:35 am | |
axelT-5 |
Background of the issue: Symptoms: Questions: |
January 6, 2025 at 11:40 am | |
January 7, 2025 at 9:39 am #16568686 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, thanks for the patience, I will take over and help further. Please note we 2 issues here, so we might need to split tickets. 1) Menu items - Can you check now? I see pages were not added as parent/child from Pages > All, so I have added them and re-translated your templates from WPML > Translation management, and it seems to work fine. 2) I will open a new ticket for this, as this seems to be a bug with the Page list block inside a content template, I will update further on this topic in the new ticket: - https://wpml.org/forums/topic/split-page-lists-block-is-empty-in-translation/ Regards, |
January 7, 2025 at 12:07 pm #16569406 | |
axelT-5 |
Hello, I still think these are the same issue - the translated pagelist returns an empty array which any block making use of them, be it in content, header, footer, navigation etc. will base its rendering on this empty array. Fixing the bug in the most simple case, e.g. just pasting a pagelist into content, could automatically fix all other use cases. |
January 7, 2025 at 12:41 pm #16569500 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, sure, but until I can confirm and check further, please let's keep it separate, as it looks to me like they can be different. Can you please revert back to my last reply, check the issue with navigation, and let me know if something is wrong, since as I said it works fine now after re-translating the pages / template. Regards, |
January 8, 2025 at 1:00 pm #16573499 | |
axelT-5 |
Hi, I already wrote about the navigation - as you see the original and translated one have very different structure with the latter even having one root menu point extra. This seems to be a different bug where the translation is an old one - the menu structure I added was not really translated, otherwise the deleted menu (Sample) would not exit in the translation. In short - yes, there are two distinct bugs, one with the empty-translated-pagelist and one with old content not being replace with new translations. |
January 8, 2025 at 1:40 pm #16573675 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, thanks for getting back. I understand that you wrote before, but let's try to make it more clear here for the navigation issue so I can confirm and check and escalate further. I am checking the navigation issue on: hidden link, and I see the same structure in both languages and no issue, but maybe I am misunderstanding something here. Image attached. Can you please recheck and share with me what is different, exact example, or try to reproduce it again on that website and share with me step by step guide so I can check and confirm it also? Thanks, |
January 8, 2025 at 2:09 pm #16573872 | |
axelT-5 |
Don't cheat! 😉 You replaced the pagelist with a singular page link. |
January 8, 2025 at 2:13 pm #16573889 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, I am not as I do not even yet understand this issue with navigation or what happens. I have taken this ticket not sure if it was like this or if someone changed this later. That is why I am trying to share with you that I do not understand or see the issue and need further information from your side. If you can please reproduce it and share step by step guide with me so I can further help you on this. Thanks, |
January 9, 2025 at 6:46 am #16576030 | |
axelT-5 |
I think it wasn't a good idea to split this issue as this is now answered elsewhere: "Easiest way to verify is very simple: |
January 9, 2025 at 7:37 am #16576203 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, thanks for the reply. I will check further on this with our 2nd tier and get back to you soon. Regards, |
January 9, 2025 at 8:09 am #16576303 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, our 2nd tier checked further and it seems it is related to the navigation template after all, if you check the code of blocks there is a wp_navigation cpt that is with ID 10 and translated to ID 41 It has a different structure than the original. If you re-translate them and make them the same it works fine. Can you please recheck if this helps: - hidden link Regards, |
January 13, 2025 at 12:25 pm #16588238 | |
axelT-5 |
I do not have permission to edit, so I can't see whether page lists are in use. But anyway, as written, the issue comes up with fresh navs and pagelists every single time, so it is an issue somewhere. I tried retranslating on my site and it didn't work, so I assume it will not work here either, but I can only tell if I can edit. |
January 13, 2025 at 12:46 pm #16588383 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, okay, I am not sure why you are not able to edit, since we use the same user, but to speed things up here and solution, please if possible share with me the staging site of your website where there is a navigation issue, so I can further check and if needed escalate to our 2nd tier and they can have a look. If you are not able to provide a staging site, let me know and I will propose another approach. Thanks, |
January 13, 2025 at 12:55 pm #16588417 | |
axelT-5 |
I did find the access in - guess where? - another issue. So splitting the cases is really a a bad idea. Anyway, I added the minimal error case I described above (just create a nav block in the content and just add a simple pagelist to it) and the issue is still there even after re-ensuring that everything has been translated. As you see the part with the yellow background vanishes. |