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 – 18:00 | 9:00 – 18:00 | 9:00 – 18:00 | 9:00 – 18:00 | 9:00 – 18:00 |
- | - | - | - | - | - | - |
Supporter timezone: America/Lima (GMT-05:00)
This topic contains 17 replies, has 0 voices.
Last updated by Andreas W. 39 minutes ago.
Assisted by: Andreas W..
Author | Posts |
---|---|
February 8, 2025 at 3:28 pm #16682561 | |
mariuszM-13 |
Background of the issue: Example. In the Polish text you will find the anchor "kwalifikacjami na poziomie OWD", In th English translation the Anchor gets translated to "OWD level qualifications", However, when clicked, it redirects to hidden link, which is the English version for the target page. So everything seems to be working, but the link in the English version does not get translated, although it somehow still works properly without translation... Check it yourself before you respond. And no, I will never give access to any of my sites to anyone. Symptoms: Questions: |
February 8, 2025 at 4:48 pm #16682749 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, ACF Link fields are by default set to "Copy". You will need to set the ACF Field Group to "Expert" mode and set the link field to "Translate". After adjusting the settings you need to edit the original fields, save the page or post, and then translate again. It might be that you need to search for the URL inside the Advanced Translation Editor by typing "http" in the search field. In case you are using ACF Blocks, this might currently not work out. I can provide a workaround in such a case. Best regards |
February 8, 2025 at 5:06 pm #16682803 | |
mariuszM-13 |
I have no idea what you are talking about. There is no ACF used for this post. It is a normal post created with WordPress within an Elementor tempate for posts. The links themselves are added under wordpress editor, so in the easiest possible way. It works properly on other sites set up the same way. So something went wrong on this one site with WPLM that it gives me wrong links. Have you actually checked the issue here on the page I sent you? Do you understand what the issue is about? It looks like you read through Debug information and the moment you noticed ACF you blame ACF and make me jump hoops with irrelevant settings. |
February 8, 2025 at 5:18 pm #16682819 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
My apologies for the misunderstanding. Take kindly note that it would help us if you explain how the affected content was created when opening the ticket. I have revised your examples but do not spot the issue. Please provide an exact example. |
February 8, 2025 at 5:31 pm #16682860 | |
mariuszM-13 |
Because you do not understand it. 1. Links work properly. Look at the image attached, bottm left corner. The link in the English version contains Polish slug, but without /PL/. However, it redirects to English content. So the problem is with displayed slugs/links |
February 8, 2025 at 5:37 pm #16682901 | |
mariuszM-13 |
Ok, I have checked the WPML troubleshooting page and fixed a few things. Now the displayed link only has the custom post slug incorrectly translated. They have always been set to translate. But for some reason they don't translate. |
February 8, 2025 at 5:45 pm #16682921 | |
mariuszM-13 |
As you can see the english version should have /dive-site/ not /miejsce-nurkowe/ in the link. The Polish version should have /pl/miejsce-nurkowe/. But for some reason the English version has /miejsce-nurkowe/. |
February 8, 2025 at 6:00 pm #16682959 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
As you can see on the screenshot, the Advanced Translation Editor will automatically adjust internal links coming from text if the content that you are linking to has been translated before creating the job. If the link was earlier already translated in a different way, or the slugs have been changed in the meantime, you will need to adjust it manually. Please try to recreate this on a new test post that is linking to an already translated page. Please add screenshots from your approach. If this does not work as expected and you can not provide access to the site, it will not be possible to assist you on this matter. |
February 8, 2025 at 6:06 pm #16682984 | |
mariuszM-13 |
The problem is not with me not translating it right or too late. The problem is that for some reason custom posts slugs are no longer translated, although nothing has been changed since the beginning. When I first set it up they worked properly. Something has made them change. Tell me how to un-breake it. The answer is probably somewhere on the troubleshooting page. |
February 8, 2025 at 6:10 pm #16682988 | |
mariuszM-13 |
The problem occurs also with newly created and translated posts. The part of the slug that belongs to the custom post type stays untranslated. So tell me how to fix it. |
February 8, 2025 at 6:23 pm #16683014 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
The link of your example belongs to this post: The link for "OWD level qualifications" leads to: The language switcher for Polish will lead the user to: Both URLs seem to display the correct content and the redirection works as expected. Please explain to me based on this example what you are expecting. |
February 8, 2025 at 6:31 pm #16683025 | |
mariuszM-13 |
I need assistance from someone who can actually read. 1. I never mentioned a language switcher. But look at the link in the bottom left corner of the image I sent to you. The part of the linkt that belongs to the custom post type is not properly translated. WMPL inserts the Polish slug of the cutom post into English liks. |
February 8, 2025 at 6:32 pm #16683032 | |
mariuszM-13 |
You clearly have no idea what I am reporting, so perhaps it would be better if another supporter takes over and actually reads what I wrote. |
February 8, 2025 at 9:51 pm #16683261 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
My apologies for the delay in handling this ticket, but it took me a while to understand the issue. --- I can see this now, but I am not sure how to assist you on this matter if you do not provide access to the site. I have further questions and suggestions: a) Did you create a custom redirect so that the link arrives at? b) Did you try to edit the slugs again at WPML > Settings > Custom Post Type Translation? c) Did you try to edit the original post, save it, then update the translation again? --- It might be that there is a conflict between WPML and another plugin or the theme you are using. Could you please create a copy or stage of the site and try running the site with minimal setup to see if the issue persists? 1) Disable any additional plugins that are unrelated to WPML and our add-ons. 2) If the issue goes away, start by reactivating the plugins one at a time, or activate them in small groups. This way, check where the issue reoccurs to see the plugin that is causing the issue. 3) If this has not resolved the cause of the issue, please switch to a standard theme such as Twenty Twenty-One to see if the issue may be related to the theme. Once we have identified the cause, we can then try replicating the issue and then escalate it internally. In this case, I will provide a test site with WPML. If you are not able to set up a copy of your website, please let me know and I will be happy to help you. |
February 9, 2025 at 12:41 am #16683395 | |
mariuszM-13 |
You we have finally established that you are not sure how to deal with that, so I need someone else. You are the support. You are supposed to be supportive, if you are not then you are wasting my time and I value my time. So I need someone else, who can tell me how to fix WPML. I have never given any of you access and I never will. The fact you even ask for the access while you clearly have no idea what is going on seems very suspicious and wrong. Why would I ever give acces to a person I do not know, who clearly has no idea what the problem is and wants to experiment on a live client site? Copying the site is even a worse idea! Why would I copy the database with all the passwords, licence keys, personal data protected by law and all other important private information and from all people on the would choose you to give access to? No, I haven't created any custom redirect for these posts, but something is clearly wrong. It started from the whole link being in the other language, but after I went to WPML troubleshooting and fixed some things that looked non-destructive, the rest of the slug translated and only one part with custom post remained. So the solution is probably somewhere there. But I need guidance which options to use there from someone who has even the smallest idea what went wrong, not from you any more. No, I haven't tried any random changes of things that work well. The fact it redirects to the right post and in the actual page address the slug for custom post is in English means that translation of custom post slugs works. Only the displayed link is not fully translated, although it started from being all in Polish, now only partially after using some fixes from troubleshooting page. So the next supporter taking over this ticket should ask your devs why the problem occurs and give me answers. The most annoying part about WPML support is that every time you guys do not know what the problem is, you start blaming other plugins... or templates No! The problem is with your plugin, nothing else! I build websites for living and my setup is always minimal setup of verified plugins I mostly pay for! And I pay you for a working plugin which causes more problems than any other plugin I have ever worked with. I have other things to do, more important than spending my time here telling you what the problem is and reading irrelevant answers. I expect professional support. If you know, then you give me solutions. If you don't, then find someone who knows or who can read the code and undestand what could happen that part of the slug is not translated, but a redirection is properly done. The whole reason you have the troubleshooting page hidden in WPML is because your devs understand that there might sometimes be a problem or a bug on your end. So stop pretending there isn't. Just find someone to tell me which fixes to use on that page and why those ones. Everything worked with the same plugins. Everything works on other sites with the same plugins, someting broke with this site's WPML recently. It might be related to the fact I switched off "Use directory for default language" or might not. Because this is the biggest change I have made on the site. But I am waiting for someone to take over support here and actually provide support. I need a list of fixes in troubleshoot page that may help. Not random ones, but a list of the ones that are related to the problems with links! Some of them have already fixed parts of the link, so others might fix the rest. |