If it were the same theme and you were using a language switcher, changing the header out would be a lot simpler, but trying to change the header/footer on the system page for search results only when it is using a single template from a single theme is a bit more complex than what I'm able to help with.
TBH the search results page being global and not per domain is a major issue within HubSpot and I'd love to see this improved.
I couldn't find an idea for this in the Ideas discussion, if you want to add it, I'll happily upvote!
Search in the right locale (ok), and show the right theme (not ok).
It is per say on the same theme, it's the issue. System pages load only the default theme, not the theme I can set per page. How can I change the header / footer with the language switcher ? It might be an option! Thank you again.
Search in the right locale (ok), and show the right theme (not ok).
@kevinfilteau I'm not sure what you mean, is it the same theme or are there two separate themes (like 2 child themes)? If it is the exact same files, then adding a language switcher to the header that recognizes the en-us vs en-ca would do the trick - but search is per domain, so if you have these as separate domains, that's a different issue altogether.
Search in the right locale (ok), and show the right theme (not ok).
@kevinfilteau based on the sketch, I don't think what you're trying to do will be possible based on the limitations within the HubSpot settings and the theme/template structuring of the child themes.
Maybe one of the others know of a custom coded solution to implement, otherwise back to my original suggestion of creating an idea to request unique system pages per domain.
Search in the right locale (ok), and show the right theme (not ok).
Thanks for your answer. The search seem to be per domain. The problem is actually that is not working according to the page locale. I would like to name the website so you can see, but not publicly.