Forums Forums Search & Filter Pro English and French posts show on French results page.

Viewing 4 posts - 11 through 14 (of 14 total)
  • Trevor
    #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
    #235803

    I’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.

    Anonymous
    #235805

    An easy solution would be to set an exclusion on the form to exclude english, but it doesn’t work which is what is puzzling me.

    I’ve set up the exclusion rule for filter 5913, which is the filter in question, so you can see.

    Trevor
    #235910

    It 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 users

    From 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
    French

    So that the French forms sees All and French
    and the English forms sees All and English.

    Does that sound about right?

Viewing 4 posts - 11 through 14 (of 14 total)