I created a custom post type (project) with a taxonomy (type of project) Custom post types are encoded in English or French.
I would be able to post on the page in french all the projects (english and french) with the taxonomy displayed in french.
And on the page in English I would like to display all French and English projects with the taxonomy displayed in English.
I translate the taxonomy from French to English but when I encode a project in French the taxonomy is not translated into English and vice versa.
The only thing you need to edit in that code is the ID of the form which you use to publish posts.
The code snippet will create duplicates of that post.
Try editing the submitted post in the back end and check that the duplicate exists, and check when you edit the duplicate that it has the translated taxonomy terms assigned.