Language switcher
To change or add a language to Language Switcher, you need to perform the following actions:
- Find the following code in page markup:
select class="woox--select language-switcher" data-minimum-results-for-search="Infinity" data-dropdown-css-class="language-switcher-dropdown"option value="French" data-href="">French</optionoption value="German" data-href="">German</optionoption value="Ukrainian" data-href="">Ukrainian</optionoption value="English" data-href="">English</option</select
- Edit the code above, taking into account that the attribute “value” in the tag must have the value of the used language. In addition, in the img / folder you need to place a flag image with the name identical to the value attribute “value” with the extension “.png”.
For example, we add Spanish, therefore we add to the markup: option value = "Spain" data-href = ""> Spain </ option and in the folder img / place the file img / Spain.png with the flag of the country.`