Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change input pattern language from the html5 codes

Tags:

html

jquery

css

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>

enter image description here

like image 305
Ali Çarıkçıoğlu Avatar asked Oct 04 '22 06:10

Ali Çarıkçıoğlu


1 Answers

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.

like image 63
Sven Bieder Avatar answered Oct 06 '22 03:10

Sven Bieder