Hi @ir3
Thank you for your interest in the Filter Everything plugin.
You need to create translations of the filter sets as well and use the meta keys of the ACF custom fields for the needed language inside the filter set.
Best Regards – Victor
Thread Starter
ir3
(@ir3)
but how should I use it in ACF Dropdown? I mean translations of option1, option2 etc.. They are already translated in WPML, but it is showing only in English on page where FilterSet is whereas I am changing language version
-
This reply was modified 2 years, 6 months ago by
ir3.
Hi @ir3
Could you please send to us some screenshots of how you translated those ACF options? The process works by creating translations for ACF fields, so that each language can use its own ACF field, for example, brand_en, brand_ua, brand_nl, and so on. Then, you can create translations of filter sets for each language and use those custom fields for the required language. This way, all your terms will be translated properly since the plugin retrieves data from the database.
Best Regards – Victor
Thread Starter
ir3
(@ir3)
Does it mean that if I have 3 ACFs (that I want to filter) and 5 languages of website, then I need to add 15 ACF’s – everyone 5 times? It seems to be really strange and impractical..
Hi @ir3
Yes, also, there is another way, Each term goes through the hook wpc_filter_post_meta_term_name and you can write a custom code that will take the translation from WPML and replace it in the filter widget, but it requires advanced PHP and WordPress skills.
Best Regards – Victor