I made confirmation window showing by clicking a button on my page. For Russian locale it works perfect, but when I switch it to English, it shows nothing. Here is the code of button:
<form method="POST"
action="Link.do?method=newsList"
onsubmit="return confirm('<fmt:message key="body.onsubmit.cancel" />')">
<input type="submit"
value="CANCEL">
</form>
Also want to say that body.onsubmit.cancel property exists in all property files and I can connect to it successfull. Don’t really know what’s wrong. Will be gratefull for your help.
the way to debug this is to see the source of the page that was sent to the client when you switch to the locale that does not work and see if the code is correct. for example if your message contains quotes then the syntax will be invalid in the resulting script if the quotes are not escaped.