accessing resource property file in *.js file
===

Hi my project is in struts 2. We have written common js files for client side validation.
now the problem is that to implement internalization we have to change alert message as per the language.
so my question is that is there any way to access resource property in js file.
or any one suggest some alternative or example for the same.