Skip Navigation

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.

Tagged: 

This topic contains 11 replies, has 2 voices.

Last updated by Osama Mersal 9 months, 4 weeks ago.

Assisted by: Osama Mersal.

Author Posts
September 10, 2024 at 8:54 pm #16163651

sylvainP-9

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?

September 11, 2024 at 8:53 am #16165245

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

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.

Best regards,
Osama

September 11, 2024 at 12:31 pm #16166493

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

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)

Best regards,
Osama

September 11, 2024 at 12:34 pm #16166507

sylvainP-9

Well. Do I need to submit login details again to hidden link?

September 11, 2024 at 12:35 pm #16166508

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Yes, please.

September 11, 2024 at 4:39 pm #16167584

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for the access details. Please try the workaround mentioned on this page.

Kindly let me know if that workaround fixed the issue.

Best regards,
Osama

September 12, 2024 at 2:12 pm #16171645

sylvainP-9

Hello there. I have already tried that approach you have suggested above, But didn't work. I tried it again. But still not working

September 12, 2024 at 2:18 pm #16171672

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

I applied the workaround, and it seems to work correctly. (Kindly check the attached screenshot)

Note: please search for the strings in String Translation and translate the newly generated strings.

Best regards,
Osama

2024-09-12_17-17-13.png
September 12, 2024 at 2:56 pm #16172149

sylvainP-9

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?

September 12, 2024 at 2:58 pm #16172165

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

I can see the translation without selecting any filter. (Kindly check the attached screenshot)

Best regards,
Osama

2024-09-12_17-57-25.png
September 12, 2024 at 4:42 pm #16172977

sylvainP-9

Hello there,

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.

Best regards.

September 12, 2024 at 7:05 pm #16173338

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

You are more than welcome. 🙂 Please don't hesitate to open a new ticket if you face any other issues. We are always happy to help you.

Have a great day!

Best regards,
Osama