To use i18n strings in javascript, like in alert(…), set htmlEscape=false, see registerstudent.jsp.
Change file encoding for i18n_*.properties to UTF-8.