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 2 replies, has 2 voices.

Last updated by zsoltE-2 2 weeks, 6 days ago.

Assigned support staff: Bigul.

Author Posts
September 19, 2019 at 1:09 pm #4605071

zsoltE-2

Hi,

I am a developer. I am creating a website with default language: Hungarian, second language: English.

I want to insert taxonomy from PHP code. I am using insert wp_insert_term, but it insert term only in the default language.

How can I insert English language terms?

I would appreciate your help.

Regards, Zsolt

September 20, 2019 at 6:55 pm #4614179

Bigul
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hi Zsolt,

Welcome to the WPML support forum. I will do my best to help you to resolve the issue.

Please share me the code you are using and the workflow for a better understanding of the issue.

Please visit the following URL. May it will help you to solve the issue.

https://wpml.org/forums/topic/add-a-taxonomy-to-three-languages-programmatically/

--
Thanks!

Bigul

September 25, 2019 at 3:57 am #4635567

zsoltE-2

Ok, It's working. Thank you.