Reputation: 1305
I use input pattern html5 validation. My computer default language is Turkish, so I get the warning message in Turkish. Is there any way to change the warning message language from the codes so every visitor gets the message in language I select?
http://jsfiddle.net/xhqsB/104/
<form>
<input type="text" pattern=".{5,10}">
<input type="submit" value="Check"></input>
</form>
Upvotes: 5
Views: 7482
Reputation: 5681
The way you want to have it is not existing. There is no input pattern to change the language of an input. The only way to force a change of the standard behavior of using the system language is by overwriting it.
By following the links in the comments above, you will see an example how to overwrite it.
Upvotes: 4
Reputation: 1852
You have to overwrite the validation message as explained in this article: HTML5 form required attribute. Set custom validation message?
Upvotes: 0