This thread is resolved. Here is a description of the problem and solution.
Problem:
The client has translated ACF fields for a custom post type 'accommodaties' but the translations are not showing on the English version of the site.
Solution:
We recommend the following steps to resolve the issue:
1. Open the
/wp-content/plugins/wp-grid-builder/frontend/facets/class-select.php
file.
2. Inside
Select::render_options()
, around line 142, replace the code snippet with the provided workaround that includes WPML filters for registering and translating strings.
3. Open the
/wp-content/plugins/wp-grid-builder/frontend/facets/class-checkbox.php
file.
4. Inside
Checkbox::render_checkbox()
, around line 339, replace the code snippet with the provided workaround similar to step 2.
5. Visit the page with the facets in the original language to register the strings.
6. Go to WPML > String Translation and translate the strings.
Before making these changes, ensure to back up your database. Additionally, if the default language on the website is Dutch and the strings are registered in English, the language of the string may need to be changed to Dutch before translating. For guidance on changing the source language of strings, refer to the documentation.
Please note that this solution might be outdated or not applicable to your case. If the issue persists, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If needed, do not hesitate to open a new support ticket for further assistance.
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 17 replies, has 3 voices.
Last updated by 6 months, 1 week ago.
Assisted by: Osama Mersal.