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

Problem in translations with WPML

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Problem in translations with WPML

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #18679
    ptzinisptzinis
    Participant

    Hi again,

    I am starting translating the site for the client and I have encountered these issues:
    1. While one page where I have the ajax search are giving results in the translated language, other pages give a null results (categories are translated, but not all of the strings –> perhaps this could be the problem, but why I have one page working and the others not?)

    2…not related to translations (sorry for that, but instead of opening another ticket I put it here)
    A few days ago you helped me with custom CSS for the
    // div.asp_w.asp_s select, div.asp_w.asp_sb select {
    background: white !important;
    color: red !important;
    height: 40px !important;
    border: 1px solid blue !important;
    }

    2 questions
    #1 how to make the element center (I tried with almost everything, I am sure I am missing something though ;-))
    #2 how to changethe background color on the expanded dropdown content (it is set blue with white fonts, I would like to change the blue with another color when I am hovering on content)

    Thanks a lot

    #18684
    ptzinisptzinis
    Participant

    You cannot access this content.

    #18703
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    Thank you for letting me know. It sounds like a cache related issue. Make sure to clear all the page/CDN cache, it will probably resolve it.

    Let me know if you need any help.

    #18705
    ptzinisptzinis
    Participant

    Hi,
    tried everything and disabled as well cache for that url …but still nothing.

    PS I also asked you about the CSS for the category div.asp_w.asp_s select, div.asp_w.asp_sb select 😉
    Thanks

    #18712
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    Can you please link me to a page where I can check the search? Centering the elements may depend on how it is placed exactly. I would also like to check the translation problem. Thanks!

    #18713
    ptzinisptzinis
    Participant

    https://mediterraneancosmos.gr/shopping/ the search in its original language (English) working correctly
    https://mediterraneancosmos.gr/el/%CF%88%CF%89%CE%BD%CE%AF%CF%83%CF%84%CE%B5/ the search in the secondary language (Greek) not taking feed
    https://mediterraneancosmos.gr/el/%CE%B5%CF%83%CF%84%CE%B9%CE%B1%CF%84%CF%8C%CF%81%CE%B9%CE%B1-%CE%BA%CE%B1%CF%86%CE%AD/ (all the other searches are working correctly)

    Regarding the element position, you can see it on the left pane of each page (the categories dropdown selection)

    Thanks

    #18739
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    The problems are the exclusions/inclusions set. Make sure to clear both the excluded and included categories here: https://i.imgur.com/kCg0Enq.png
    Those are not needed in your case, as the filter will always limit the results to the selected category.

    To center the filter box, use this custom CSS:

    [html]div.asp_w.asp_sb.searchsettings form {
    justify-content: center;
    }[/html]

    ..aslo, if you want to change hte width of the select box to match the container width, you can use this one as well:

    [html].asp_sb fieldset {
    width: 100% !important;
    }[/html]

    #18743
    ptzinisptzinis
    Participant

    Thank you man and sorry for trouble you!
    I completely forgot to remove in that search the exclusions/inclusions!!!
    Thanks a lot again!

    #18745
    Ernest MarcinkoErnest Marcinko
    Keymaster

    No problem at all, there are many options on the back-end, I can completely understand it 🙂

    I will close this ticket soon, and mark it as resolved.

    #19276
    ptzinisptzinis
    Participant

    You cannot access this content.

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Problem in translations with WPML’ is closed to new replies.