My current task is to implement localization for a website.
There is no issue with displaying the Chinese characters in the website.
However, I just have one problem: Chinese characters appear as question mark in emails.
Already set the encoding to UTF-8 but it still won't work.
I did some research and come up with these links:
http://www.pinyinjoe.com/faq/outlook-chinese-display.htm
https://support.google.com/mail/answer/17091?hl=en
https://productforums.google.com/forum/#!topic/gmail/vnSf4HxYAXs
http://mytechanalysis.blogspot.com/2011/01/display-chinese-characters-in-gmail.html
These...
Localize jQuery Validate
May 20, 2015
Here is a code snippet on how to localize the custom error messages for the jQuery Validation Plugin, assuming I have already imported the proper libraries.
I have created a separate function in my script to set the proper error messages.
function addCustomMessages(){
$("#inputName").rules("add", {
messages: {
required: errorRequired,
minlength: errorMinLength
}
});
}
where...
Labels:
javascript,
jQuery,
jQuery Validation,
localization,
plugin,
validation
Subscribe to:
Posts (Atom)