1

I created a submit button with <input type="submit"> and that button appears in my language (Portuguese). Does it appear "submit" if the person who enters the website has a browser in English? Or it will appear the same for everybody and I should put the value="Submit"?

<input type="submit" id="send" aria-label="Submit">

Submit in my language

2 Answers 2

2

Without some external translation mechanism (like a CMS), HTML won't automatically translate into other languages, what you see is what you get. Some browsers have functionality that will try to translate content, but that is on the client side and sometimes unreliable. If you want to ensure that your content will appear in the native language of a specific country, you'll have to add that functionality yourself.

Sign up to request clarification or add additional context in comments.

Comments

0

On a modern browser, it should unless there is some language attribute.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.