Hi, I have an issue with removing the Arabic language from my site. I tried to remove the Arabic language from my staging site. I clicked "Yes, delete all Arabic translation," and it's loading after finishing, and it shows the same page. Can you help me with this?
Before I shared with you the staging site access. You can check it there.
It appears that when attempting to delete content, the server returns 504 errors. This suggests the server is unable to process the request. As a workaround, I recommend manually deleting the content.
Please follow these steps:
* Backup your site.
* Enable the Arabic language option.
* Open any post type.
* From the top bar, switch the language to Arabic.
* Delete the posts.
* Also remove them from the trash.
I checked the post types, and the Arabic language contents are deleted, but in the language settings, it's still showing this. If you manually delete the posts or pages the content still in db? And I need to know how to remove ar.MO and ar. PO. Because once the language is removed, still the theme and plugins have the Arabic translation content, right?
How can I delete those post types and media manually? Or shall we do the same work as in the above screenshot? I've done that, it's loading, and then it shows me the same thing again, so I need to do it again and again. Or only way to do it is manually.
I think the issue is with my server. If I am doing this in my live site, the error will not show, right? I am talking about the language removal from the WPML settings.
But I tried to manually delete the content, then I checked the post types, for eg, Posts, there is no Arabic Language content, but it still shows 67 posts. Below I attached the screenshots for your reference. You can check the site before I share it with you.
You will need to enable the arabic language first.
Please check this video: hidden link
Also, make sure you go to WPML->Settings->Posts and pages synchronization and the following options are unchecked:
- When deleting a post, delete translations as well
- When deleting a taxonomy (category, tag or custom), delete translations as well
So, first I need to delete all the Arabic language contents manually, then remove the language, and then the error didn't show, right? Ok, I'll try this. But what about the media? I need to delete it manually? Thank you for your help.
I deleted all the datas in my site except Media and Navigation Menu item. I have deleted Navigation menu but its still shows Navigation menu item? Can you help me with this? I done this in my live site.
And one more thing, I will delete the ar.MO and ar.Po file from the wp-content/languages/plugin folder. Then I need to delete the theme folder also? wp-content/languages/theme. Please let me know, I will do this. This will not affect any other languages?