If you are having a notice about writing the .mo files please read this doc

Hi, Amit here, I am the WPML Support Manager, our current ticket queue is high, update your WPML plugins and make sure you meet the minimal requirements for running WPML before reporting an issue please - many tickets are resolved doing that

Please look at our updated list of Known Issues and you can also use our support search to find helpful information and of course review our documentation before opening a ticket.

If you do need to open a ticket please make sure to provide us with all the needed information as described in this page

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 8 months, 2 weeks ago.

Assigned support staff: Jamal.

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

sergeyS-14

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: https://wpml.org/documentation/related-projects/wpml-all-import-plugin-website-import-with-wpml/#importing-posts-with-taxonomies. 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

Jamal
Supporter

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

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

Hello,

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
https://wpml.org/documentation/support/
https://wpml.org/documentation/support/wpml-coding-api/

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,
Jamal
WPML Support