[Resolved] Can't translate facet elements using WPML
This thread is resolved. Here is a description of the problem and solution.
Problem: You have installed WPML on your website and are using FacetWP for filtering posts by 'Type of School' (Private, Public), which are ACF custom fields. Although these school types are translated in other areas, they are not appearing translated in the facet filters on the front-end. Solution: We recommend trying the workaround provided on the WPML errata page. You can find the specific instructions by visiting this page.
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, 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. Should you need further assistance, please do not hesitate to open a new support ticket at WPML support forum.
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.
Background of the issue:
I have installed and configured WPML on my website hidden link. On some post archive pages, there are filters using facetWP, allowing users to filter posts by Type of School (Private, Public). These school types are ACF custom fields, which I have already translated.
Symptoms:
In the front-end, the facet filters are not showing the translated school types, although they are translated in other places.
Questions:
Why are the translated school types not appearing in the facet filters on the front-end?
Thanks for contacting WPML forums support. I'll be glad to help you today.
I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP) Preferably to a test site where the problem has been replicated.
Your answer will be private, meaning only you and I can access it.
❌ Please backup your database and website ❌
✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.
✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.
Please add the access details in the private field. If you don't see the form below, please don't add your credentials, as they will be publicly exposed٫ (hidden link)
Well. Now I can see the translated text (ex: Publique, Privé) but only if any facet checkbox is checked. If not, it appears not translated. Why is that?
I'm sorry, you're correct, There was a cache in my browser and that's why I didn't see the translated text. So, now the problem has solved. Thank you very much for your support.