Hi everyone!
I use a Dawn theme in my shop, but today I need to put the language selector.
As I did it, button is placed in the footer - it’s not good for customers.
I need to bring the selector to header.
Can anyone help me with this?
I’ve marked a place, that I want to put the selector. And also it must be dropdown.
Thanks for help!
Hello @Jakub_Szczepan
Its Artzen Technologies! We will be happy to help you today.
I have reviewed your problem thoroughly and I have surfaced a solution that will surely help you.
- Go to online store > theme > Edit code > Sections > header.liquid (file) and Insert the below code inside the
which must be around line number 515-520 accordingly → Save.
This code will automatically select the default languages which you have added to your store.
And if after applying this code also, it does not work then please feel free to ask for assistance.
{%- form ‘localization’, id: ‘HeaderLanguageForm’, class: ‘localization-form’ -%}
{{ localization.language.endonym_name | capitalize }}
{% render 'icon-caret' %}
{%- endform -%}
Let me know if need further assistance
Regards,
Artzen Technologies
@Jakub_Szczepan
Please share your site URL,
I will check out the issue and provide you a solution here.
Hi @Jakub_Szczepan
Can you kindly share your store link (with the password, if any) with us? We will check it and suggest you a solution if possible.