Skip Navigation

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 – 10:00 8:00 – 10:00 8:00 – 13:00 8:00 – 13:00 9:00 – 13:00 -
- 11:00 – 17:00 11:00 – 17:00 14:00 – 17:00 13:00 – 17:00 13:00 – 18:00 -

Supporter timezone: America/New_York (GMT-04:00)

Tagged: 

This topic contains 11 replies, has 0 voices.

Last updated by henrikD-8 3 hours, 12 minutes ago.

Assisted by: Lauren.

Author Posts
June 3, 2025 at 2:31 pm #17102713

henrikD-8

Background of the issue:
I am trying to set languages for existing post categories after migrating my site from using Polylang to WPML. I want to ensure that when translating posts from English to Swedish, the correct post category is applied.

Symptoms:
I get the error 'Category not updated.' when trying to set languages for post categories. Additionally, a duplicate category is created with a URL like '/sv/blog-2/...'.

Questions:
How can I set languages for existing post categories after migrating from Polylang?
Why is a duplicate category being created with a different URL?

June 3, 2025 at 3:07 pm #17103012

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

I would like to request temporary access (wp-admin and FTP) to your site to take better look at the issue. 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.

Our Debugging Procedures

I will be checking 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 backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site 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 make a backup of site files and database before providing us access.

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

June 5, 2025 at 2:00 pm #17110570

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

Thanks so much for providing access, I can see what you are referring to. Can you give me permission to install the Adminer plugin? This will allow me to look at the database so I can check and see if there is a duplicate category with the same TRID that may be preventing the translation to set correctly. I'll remove the plugin once I am done. Thanks!

June 9, 2025 at 6:07 am #17116955

henrikD-8

Yes, of course, feel free to add plugins and do any debugging you need to!

June 9, 2025 at 5:37 pm #17119331

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

When I try to access your site to troubleshoot, I am getting a 503 error. Please see attached screenshot and let me know when the site is back up and I'll continue looking into this.

Screenshot 2025-06-09 at 1.30.31 PM.png
June 10, 2025 at 6:09 am #17120183

henrikD-8

My apologies, it seems the development servers are not running between 6PM and 8AM.

It should work now.

June 10, 2025 at 2:46 pm #17122442

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

The site is loading now but the credentials no longer work. Can you check the previous credentials and update your previous post if needed so I can login? Thanks.

June 11, 2025 at 9:38 am #17124802

henrikD-8

You are right, the password didn't work for some odd reason. I've now updated it to the one sent earlier.

Also, the dev server will be running 24 hours until we get this sorted.

Thanks for looking into it!

June 11, 2025 at 2:43 pm #17126794

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

The issue here is that the category original language is set as nl in the database. The Swedish and Norwegian blog categories are translations of Dutch and all have the same TRID (Translation ID). English had a separate TRID, so i changed it to match the others and now they are all linked. The problem was trying to translate from English to Swedish, when Swedish was already set as a translation of Dutch.

Are there other categories that you need me to take a look at?

June 12, 2025 at 1:02 pm #17130195

henrikD-8

Thank you, I think I understand. I've made a few updates on the live site, and the categories seem to be connected properly.

However, now it seems a different problem popped up (possibly due to this fix, it didn't happen before) when I do this:
- Go to Translation Management
- Choose Source Language: 'Swedish' translated to: 'English', 'Not Completed' -> Filter
- Scroll down a bit to Posts and check a post for translation

At this point, almost the entire interface disappears and there's an error in the browser console.

Just to elaborate a bit, this functionality is very important to us because (while the main site language is English) we have a lot of posts that are written and published only in Swedish. So we want to translate them to other languages from Swedish.

Screenshot_660.jpg
Screenshot 2025-06-12 at 14-56-40 Translation Management ‹ Heartpace — WordPress.png
June 12, 2025 at 4:46 pm #17130988

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

Hi there, please take a look at the video I just created. I logged in and went to the translation management dashboard, chose Swedish translated to English and status not completed, but I did not get any errors. hidden link

Can you please review the video and make sure I am doing the same steps that you did when you saw the error?

June 16, 2025 at 1:02 pm #17138806

henrikD-8

Hi Again,

Yes, you did the same steps, except the last one -> Scroll and check a post for translation.

The bug happens when I mark anything in the list.

Here's a video from my side:
hidden link

However, now that I went to record this, I noticed it seems to happen only on Mozilla Firefox, while Chome works fine.

So I'm not sure if you want to go on and look further into it. Using Chrome is fine for me, though it should still probably work on any modern browser.