Jump to content

How to change language?

Go to solution Solved by Poszata,

Recommended Posts

How should I change these to hungarian? It is not supported via settings->language 

I know some html/css is there a way maybe to resolve this by code? I really need this, because lots of hungarian ppl do not speak English also it is odd that everything else is in hungarian. Not to trustworthy...

language.JPG

Link to comment
  • Replies 3
  • Views 963
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

  • Solution

I tried using JS, even got some code from chatgpt...
 

document.addEventListener("DOMContentLoaded", function() {
    var selectElements = document.querySelectorAll('select[aria-label="Select Size"]');

    selectElements.forEach(function(selectElement) {
        var defaultOption = selectElement.querySelector("option[value='']");
        if (defaultOption) {
            defaultOption.textContent = "Válassz méretet";
        }
    });
});

Want to change the default value of the dropbow/comboboxes so it could be hungarian... and nothing happens.. I even tried to use getelementbyid and use the id and there is no change... I could manage to change the text on the button but not the combobox...

language2.JPG

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.