From af41a5e67a36e8604f8a4ebf5c192b3cfb6a1f9d Mon Sep 17 00:00:00 2001 From: Higor Kern <higork@zoho.com> Date: Wed, 4 Jan 2017 18:49:51 -0200 Subject: [PATCH] Show how to use other languages for messages I think it is valid to show users it is possible (and easy) to change the default english messages by just create a new language within the file and then specify it in the call. --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index df7f188..11d6e39 100644 --- a/README.md +++ b/README.md @@ -17,9 +17,11 @@ E.g. validating 'cool@fabeook.cmo' will result in a typo suggestion: ### jQuery Example (verimail.jquery.js) $("input#email-address").verimail({ - messageElement: "p#status-message" + messageElement: "p#status-message", + language: "pt_BR" //first, be sure that the language exists; for English (en), just comment out this line }); + ### Example (verimail.js) var email = "cool@fabeook.cmo";