This thread is resolved. Here is a description of the problem and solution.
Problem:
The client needed to display language-specific ACF custom field groups for different languages in LearnDash Lessons and Topics post types. They were encountering an issue where all field groups were displayed irrespective of the selected language.
Solution:
1) We instructed the client to back up their site fully before making any changes.
2) Then navigate to WPML>>Settings>>Post Types Translation.
3) Click on the
Lock
icon for the
Field Groups(acf-field-group)
Post Type.
4) Select the
Translatable - use translation if available or fallback to default language
option for the
Field Groups(acf-field-group)
Post Type.
5) Save the changes.
6)Translate the
TTE Roadmap Branches EN
field group to the secondary languages or creating different
TTE Roadmap Branches
field groups for each language.
We also provided links to relevant documentation:
We also mentioned a known issue with the ACF Taxonomy field:
ACF Taxonomy field translation issue.
Please note that the solution provided might be outdated or not applicable to your case. If the issue persists, we highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please do not hesitate to open a new support ticket with us.
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.
Tagged: Exception
This topic contains 9 replies, has 2 voices.
Last updated by Bigul 10 months, 3 weeks ago.
Assisted by: Bigul.
Author | Posts |
---|---|
January 23, 2024 at 9:17 am #15214977 | |
Nikhil Vishwanath |
Hi, We are trying to create custom field groups using ACF Multilingual along with WPML to have different field groups for different languages in the post types of Learndash Lessons and Topics. The field group we are adding is a Taxonomy selector field. We have created separate taxonomies for different languages. What we would like to have is, only display the specific field group for a language. When we edit a post (lesson/topic), we see all the field groups irrespective of the language we have selected. Can you please help us with this or provide any information on how to have separate field groups for languages? What is the link to your site? Screenshots added for reference - |
January 23, 2024 at 1:34 pm #15217229 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+01:00) |
Hello, Welcome to the WPML support forum. I will do my best to help you to resolve the issue. This may be a compatibility issue. Please fill in the private details fields after a full site backup{mandatory}. I would like to access the admin area of your site for further checking. Refer to the following links for more details about our private information-sharing policies. hidden link -- Bigul |
January 24, 2024 at 9:56 am #15220733 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+01:00) |
Hello, Thank you for the details and login information. Please check the attached images. The *Field Groups(acf-field-group)* Post Type is set as *Not translatable* now. So the field groups like the following will belong to all the languages. It is an expected result as per the current settings. TTE Roadmap Branches DE TTE Roadmap Branches EN TTE Roadmap Branches ES TTE Roadmap Branches PT TTE Roadmap Branches RU We don't have to translate the ACF Field Group. Please refer to the following article for more details and let us know your feedback. -- Bigul |
January 29, 2024 at 7:22 am #15236274 | |
Nikhil Vishwanath |
Hi Bigul, Thanks for looking into this and the response. I know the Field group is set as not translatable, but our issue is that we want to create these custom field groups with the options to display the different taxonomy based on the language selected for the specific posts. For example, Currently, the taxonomy options appear for the specific language but it also shows the field groups for other languages. Can you please let me know how I can create this using the ACF multilingual setup? Please let me know if the requirements are not clear and I will provide more details. Thank you. |
January 29, 2024 at 4:04 pm #15239634 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+01:00) |
Hello, Thank you for the updates. Just to clarify, will it be different taxonomy terms or the German translation of the English taxonomy terms(the terms selected in the original language post/page)? A course/lesson in German will display the same field group but show the taxonomy options from the German language. -- Bigul |
January 30, 2024 at 8:18 am #15241893 | |
Nikhil Vishwanath |
Hi, Yes, we have created a custom taxonomy using ACF multilingual called "TTE Roadmap branches". This taxonomy is then used as a basis for translation in other languages. Example in the screenshots - |
January 30, 2024 at 5:01 pm #15245728 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+01:00) |
Hello, Thank you for the updates. I am consulting with our team for an expert opinion on this. We will get back to you as soon as possible. Please wait. -- Bigul |
January 31, 2024 at 11:35 am #15248798 | |
Nikhil Vishwanath |
Hi, Thank you for looking into it. On the same note, is there any method we can use to migrate or change the language of multiple posts from the default language to another language? Currently, we have a custom post type created using ACF multilingual and all the posts within it are in one language. Is there a way we can change the current language of some of these posts? Thank you. New threads created by Bigul and linked to this one are listed below: |
February 1, 2024 at 1:45 am #15252606 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+01:00) |
Hello, Thank you for the updates. Please note, that I have opened a new ticket for the Change the language question. As per our support policies, we can only handle one issue per ticket. It will help us to serve you better and we can avoid discussing multiple problems in one ticket. I will get back to you soon on the latest ticket. Please wait. -- Bigul |
February 1, 2024 at 5:00 pm #15256129 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+01:00) |
Hello, Please try the following steps after a full site backup{mandatory} and make sure you are getting the expected results or not. 1) Visit WPML>>Settings>>Post Types Translation Please note that we have a known issue with the ACF Taxonomy field. https://wpml.org/forums/topic/acf-field-type-taxonomy-translation-option-copy-not-working/ -- Bigul |
February 7, 2024 at 9:08 am #15275314 | |
Nikhil Vishwanath |
Hi, Thank you for providing the detailed steps for adjusting the field group translations. We changed the WPML settings and created the field group in different languages, which worked. Thanks. |