Forums › Forums › Search & Filter Pro › English and French posts show on French results page.
- This topic has 13 replies, 2 voices, and was last updated 4 years, 8 months ago by Trevor.
-
Trevor(Private) March 6, 2020 at 1:32 pm #235740
So, looking at these posts, I am thinking that maybe the forms should NOT be translated. Translating them links them.
One thing puzzles me though. In the search form you have Event Language as a choice.
Does this mean that you want to show all language posts on both English and French pages, and allow the user to choose the language?
So, on both of the English and French language search pages, all posts should show?
Anonymous(Private) March 6, 2020 at 3:52 pm #235803I’ve unlinked the two search forms, but it is impossible to not have this post type be translated. The checkbox in Polylang settings is greyed out so i cannot deactivate it. So I don’t know if there is something I can do from a code perspective here.
For context, I am the site co-developer speaking on behalf of the client.
The Event Language is the actual language that the event is taking place in. Some events have french speakers and some have english. Not all events are translated in both languages because only some might be of interest to francophones even though they are in English. I’ve confirmed with client that this is the correct behaviour.
Trevor(Private) March 9, 2020 at 1:38 pm #235910It looks as though, in effect, you need our plugin to see all posts, and to have two forms;
One that sees those posts you want to show to French-speaking users
and
One that sees those posts you want to show to English-speaking usersFrom what I can see, the ‘language’ of the posts (as seen by WordPress via Polylang) is not relevant.
Because Polylang is installed, it requires our forms to be translated, AND those translated forms will expect posts to be separated by Polylang.
What you need, I think, is:
For Polylang not to (need to) translate our forms and for our plugin to ignore that Polylang is present (in effect, to not see the languages).
Instead, you need a setting which decides which event is shown to who:
All
English
FrenchSo that the French forms sees All and French
and the English forms sees All and English.Does that sound about right?
-
AuthorPosts