Home › Forums › Bug Reports › ACF uses wrong language while creating a term when Polylang is enabled › Reply To: ACF uses wrong language while creating a term when Polylang is enabled
ACF does not directly support Polylang and this would require altering the popup used by acf to allow selecting a language.
I don’t know of any way to accomplish what would need to be done, at least not directly.
I don’t have any specifics but I would look into the following. Create and acf/save_post action. In this action get the language set for the post and get the selected terms. Check each of the selected terms to make sure they are for the language selected on the page. If the language is incorrect then update the term to the correct language.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.