• My site supports three languages by having several different catalogues, one for each language. But the theme header search text field only searches the catalogue on my English catalogue, regardless of the language users have selected. How can I have the search field search the correct language?

    Failing that, how can I remove the search field?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi warsage,

    Sorry for the late reply. I see you were already able to hide the search bar. Unfortunately, there wouldn’t be a way to have it search different catalogues based on which language you are in on the site. That’s because it always searches the catalogue located at the Catalogue URL that you provide in the settings.

    Thread Starter warsage

    (@warsage)

    Yes, I hid the search bar by applying display: none to it. Is there a different way to do it?

    I’d like to suggest adding localized search bars as a feature. I would love to be able to use that search bar.

    Using display: none is perfect.

    It isn’t really about localizing it. It’s the fact that you’re searching one specific catalog. You have to specify the catalog URL to search. You can’t have it search multiple catalogs

    Thread Starter warsage

    (@warsage)

    My question stems from what you said in this comment:

    we recommend setting up a separate catalogue as well as a separate set of products, categories, tags, custom fields, etc. for each language.

    I did this for several languages, and it works great overall, but the search bar ignores the currently selected language. I understand why it does this, but the behavior seems wrong. It’s incompatible with your advice for dealing with localization.

    My suggested enhancement is to allow admins to specify which catalogue will be searched based on which language is selected.

    Thanks for your time!

    • This reply was modified 5 years, 8 months ago by warsage.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Search Bar Localization’ is closed to new replies.