This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

WPML Results in the main language

Home Forums Product Support Forums Ajax Search Pro for WordPress Support WPML Results in the main language

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #30206
    Andres21Andres21
    Participant

    Hi,

    I’m translating this webpage https://bateriasweb.com/ but I have a problem with Ajax Search Pro when I am in the main language (spanish). When I search for a “75ah” shows me the products in all languages. I think that the problem is that the spanish language is the root URL

    Spanish – https://bateriasweb.com/
    Portuguese – https://bateriasweb.com/?lang=pt-pt
    English – https://bateriasweb.com/?lang=en

    I have activated “Store a language cookie to support language filtering for AJAX”

    It works fine with english and portuguese, but my problem is with spanish that shows all the languages in the results.

    Is there any way to solve it?

    Thanks in advance

    #30208
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    Can you please add temporary FTP and back-end details? I would like to check the configuration and debug the query.
    The query parameters seem to be all right, I need to debug this deeper.

    #30210
    Andres21Andres21
    Participant

    You cannot access this content.

    #30211
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Thank you!

    I have looked at this post, which you marked as Portuguese. I opened it in the back-end editor here, but it is actually marked as Spanish.
    Then I checked the other product that I assume should be portuguese, but that is marked as spanish as well.
    The issue seems to be only the incorrectly set languages for thos products. Once you change that, it should be okay.

    #30217
    Andres21Andres21
    Participant

    It works,

    Thank you

    #30224
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.