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 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | - |
- | 13:00 – 18:00 | 13:00 – 18:00 | 13:00 – 18:00 | 13:00 – 18:00 | 13:00 – 18:00 | - |
Supporter timezone: Asia/Singapore (GMT+08:00)
This topic contains 14 replies, has 0 voices.
Last updated by arnoP-3 11 hours, 35 minutes ago.
Assisted by: Kor.
Author | Posts |
---|---|
August 8, 2025 at 9:22 am #17304852 | |
arnoP-3 |
<b>Background of the issue: </b> I also set specific fields to translate links: <custom-fields> <custom-field action="translate" translate_link_target="1">block_button_url</custom-field> <custom-field action="translate" translate_link_target="1">content_must_knows</custom-field> </custom-fields>. <b>Symptoms: </b> <b>Questions: </b> |
August 11, 2025 at 12:50 am #17308017 | |
Kor WPML Supporter since 08/2022
Languages: English (English ) Timezone: Asia/Singapore (GMT+08:00) |
Thanks for contacting us. I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified. Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements. Your upcoming reply will be treated with confidentiality and will only be visible to you and me. ✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup. |
August 11, 2025 at 4:16 pm #17310873 | |
Kor WPML Supporter since 08/2022
Languages: English (English ) Timezone: Asia/Singapore (GMT+08:00) |
Thanks for your reply. I've checked, and I can see the untranslated links using the Advanced Translation Editor as shown in the attached screenshot. I've tried both methods listed here https://wpml.org/faq/how-to-translate-links/#fixing-links-that-point-to-the-wrong-translation and it's not working. It looks like WPML failed to identify the translated custom posts and you'll need to manually correct it. |
August 12, 2025 at 7:32 am #17312204 | |
arnoP-3 |
Thanks Kor. On the live site, I clicked the "unlock" option in the translator and corrected the link manually. It did not change in the frontend yet. Perhaps because of caching, but it's already 16 hours ago, and still nothing changed. Did this work for you on the staging site? Even if it works, how come WPML failed to identify the translated custom posts? If everything is setup correctly, I suppose this is a bug? Kind regards, |
August 12, 2025 at 4:53 pm #17314311 | |
Kor WPML Supporter since 08/2022
Languages: English (English ) Timezone: Asia/Singapore (GMT+08:00) |
Thanks for your reply. I found that the link was not translated into German, so I’ve updated it for you as shown in the attached screenshot. The link "Alle Preise und Rabatte finden Sie hier" is now working at hidden link If you’d like us to investigate further why the links are not pointing to the translated page automatically, please replicate the issue on our sandbox site hidden link . You can install the necessary plugins there to reproduce the problem. Then, I will escalate this to our 2nd Tier Support for further investigation. |
August 14, 2025 at 9:34 am #17320303 | |
arnoP-3 |
I translated on the live site and couldn't see the translation in the frontend. But it works now, so I must have done something wrong before. So, unlocking and translating the links manually works. But that's too much work going forward. The links need to be translated automatically, just like all links to other post types. I reproduced the same issue on the sandbox site. I created a custom post here: On this page, the link to that post remains English: hidden link There is one other strange thing: the custom post type doesn't even load in the frontend. This is a correct URL, but it throws a 404 error page: hidden link WordPress does "see" the custom post type: it pops up in the dropdown when creating a link to it. So I would think that WPML should be able to get the German URL. Just a wild guess: maybe WPML can't deal with the slug "details"? I hope this is sufficient for you to fix this. Thanks! |
August 14, 2025 at 5:29 pm #17321815 | |
Kor WPML Supporter since 08/2022
Languages: English (English ) Timezone: Asia/Singapore (GMT+08:00) |
Thanks for your reply. Please allow me to escalate this to our 2nd Tier Support for further investigation. I will come back to you once I've feedback. |
August 15, 2025 at 2:49 pm #17323914 | |
Kor WPML Supporter since 08/2022
Languages: English (English ) Timezone: Asia/Singapore (GMT+08:00) |
Thanks for your reply. While preparing a report, I tested this on a new page and it works fine hidden link . Let me show you a screen recording. hidden link . Could you recheck and see if you've left out any options? |
August 16, 2025 at 12:29 pm #17324846 | |
arnoP-3 |
That's strange. Now it works for me too. The link I made in my first test is now correct too, while I did not change it. So in the sandbox it happens randomly: the same issue occurred, but later it's fine. On my staging the problem is still there. I'd suggest your developers check my staging site. They can disable plugins and do what they need to do to figure this out. |
August 18, 2025 at 12:57 am #17325864 | |
Kor WPML Supporter since 08/2022
Languages: English (English ) Timezone: Asia/Singapore (GMT+08:00) |
Thank you for your patience. I regret any inconvenience caused, but to proceed with troubleshooting, I kindly ask for a snapshot of the site. Alternatively, with your permission, I can create one myself. For this purpose, I typically recommend using the free plugin "Duplicator." If you're already familiar with Duplicator (https://wordpress.org/plugins/duplicator/), please skip the following steps and simply send me the archive file you downloaded. To guide you further, please adhere to these instructions: 1. View the Duplicator instructions video: hidden link 2. Consult WPML's instructions on providing supporters with a copy of your site: https://wpml.org/faq/provide-supporters-copy-site/ 3. If the archive file exceeds 400MB, please use Duplicator's file filters to exclude cache, wp-uploads directory, media, and archive files. Once you have the archive file ready, kindly share the link with us. You can utilize platforms like Google Drive, Dropbox, or similar for file sharing, as the snapshot file might be large. Please note that your next reply will be private, visible only to you and me. You can paste the file link there. Rest assured that once the issue is resolved, I will delete the local site. |
August 18, 2025 at 7:33 am #17326366 | |
arnoP-3 |
I installed Duplicator on the staging site and excluded /uploads/ and some db tables. It's still too big. Please go into the site as I suppose you can work around this limit. I don't know what else to do. |
August 18, 2025 at 6:22 pm #17329185 | |
Kor WPML Supporter since 08/2022
Languages: English (English ) Timezone: Asia/Singapore (GMT+08:00) |
Thanks for your reply. It's 52gb hidden link . Not sure if this is feasible, but I will escalate this to our 2nd Tier Support for further assistance. I will come back to you once I've feedback. |
August 19, 2025 at 5:43 am #17329717 | |
arnoP-3 |
I think I saw it go down to 1.5 Gb when excluding /uploads/ and 3 database tables ending with "_cloned" in their name. But I don't know what else to exclude and still have a useful backup for your colleagues. I hope they can figure it out. |
August 19, 2025 at 6:11 pm #17332482 | |
Kor WPML Supporter since 08/2022
Languages: English (English ) Timezone: Asia/Singapore (GMT+08:00) |
Thanks for your reply. Did you fix all the links in the translated German language? I've checked a couple of travel tickets in the German language and all links are pointing to the correct translated page. Could you recheck? |
August 20, 2025 at 5:44 am #17333039 | |
arnoP-3 |
Hi Kor, No, I haven't made changes. Links to the new post type are still incorrect; here are some examples: - On hidden link, the link in the button "Alle Preise und Rabatte ansehen". By the way, I removed the Duplicator backup file because it was 50 Gb in size and causing disk issues on the server. It should be possible to create a much smaller backup with the exclusions I mentioned in my previous post. I will also try to shrink the /uploads/ directory, but excluding it is better. |