We have about 4000-5000 posts in various languages that we want to migrate to Custom Post Type. The unique thing about those posts is that they are currently regular post type "Post" and are in the category "Example1" or the category "Example2.
The problem is that if I switch the post type of those posts either via the Taxonomy switcher plugin, Post type switcher plugin, or a direct SQL command(which is the fastest), the post translations are not correctly migrated and I get a lot of Orphaned posts. All of the posts also get migrated to the primary EN language.
Can you let me know the best way to migrate posts from category "Example1" and "Example2", to a Custom post type? While maintaining all translations/language data and other metadata.