You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browsers support many locales when displaying input constraint validation error messages, but they display them based on navigator.language. A common request from clients is to have them in the language of the website in order to have a unified experience (especially if there are custom error messages displayed in the language of the website). This, currently, means re-creating them based on input.validity. That solution is not all that great as browsers give information to the user that is not available in input.validity (such as what is missing in the email format). I'd love to be able to specify the language that validation messages should use in some way.
This discussion was converted from issue #177 on December 04, 2020 22:39.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Browsers support many locales when displaying input constraint validation error messages, but they display them based on
navigator.language
. A common request from clients is to have them in the language of the website in order to have a unified experience (especially if there are custom error messages displayed in the language of the website). This, currently, means re-creating them based oninput.validity
. That solution is not all that great as browsers give information to the user that is not available ininput.validity
(such as what is missing in the email format). I'd love to be able to specify the language that validation messages should use in some way.https://webwewant.fyi/wants/107/
Beta Was this translation helpful? Give feedback.
All reactions