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.

This topic contains 1 reply, has 2 voices.

Last updated by Jamal 2 years, 6 months ago.

Assigned support staff: Jamal.

Author Posts
March 8, 2019 at 10:36 am #3291344


Hi there!

As its complicated to import posts with taxonomy Wpallimport and Wpml-all-import active

Taxonomy must be different name, and must be imported before etc etc... i already read this: But imported was done...

And to not mess with unic taxonomy names, and then rename names to the same name, because for another language taxonomy will use same name etc. (We have City as taxonomy with same name for 3 language)

My plan is: one by one programatically associate Russian term as translated of English

1. Get all posts with same unic Reference (for each language is the same)
2. Get connected taxonomy in English
3. Swich language to get connected taxonomy in Russian
4. Do stuff maybe some SQL update or some useful wordpress function as ( wp_set_post_terms(), wp_set_object_terms() i hope you can help me here with some action or filter) so the connected taxonomy for Russian became a translation of English.
5. And repeat steps (3,4) for other languages.

Or may be you suggest me another easy way to achieve this?

Thank you!

March 9, 2019 at 6:06 pm #3298786


Languages: English (English ) French (Français )

Timezone: Africa/Casablanca (GMT+01:00)


Thank you for contacting WPML Support. I will be glad to help with this.

To know more about WPML API, please visit our developer information page

I also think that you would be able to get this by running "Synchronize Posts taxonomies" in WPML->Support->Troubleshooting. See attached image.

I hope this helps. Let me know if you still need assistance.

Best regards,
WPML Support

Screen Shot 2019-03-09 at 17.55.10.png