Subscription Preferences Page Header and Footer Language Variants
SOLVE
Hi all,
I am trying to create language variants for the header and footer of my subscription preferences template (email_subscription_preferences_page). This template extends the base.html template, which contains global partials for the header and footer areas of the template. If I could set different language variants of my subscription preferences page I could set language variants via the global content editor, but as I can't set language variants for this system page (that I know of) is there another way to detect browser language in HubL and perhaps load different translated partial templates based on that language?
Thank you in advance!
Matthew Shepherd
Freelance HubSpot Consultant CRM Consultant | SEO Specialist
This variable helps me check the language settings of the page, but as the subscription preferences page is a system page, and I can't use multiple different pages with different language settings for that page, this won't work in this case. I think I need a similar if statement that checks the user's browser language.
Matthew Shepherd
Freelance HubSpot Consultant CRM Consultant | SEO Specialist