i18n in javascript, anybody?

i have a jsp page in which i also include a .js file.now i want to internationalize the javascript code as well as jsp code.but if the jsp is parsed before the .js file is inlcuded then how do i use the i18n message tag in my javascript code?
[263 byte] By [h_burkulea] at [2007-10-2 12:29:26]
# 1
I wander if you have solved your problem I a facing the same problem now
au048a at 2007-7-13 9:25:36 > top of Java-index,Desktop,I18N...
# 2
The most most straightforward solution is to write your .js file as a jsp. I would change all your text references in the JavaScript to global variables, then declare all the global variables in a .jsp file that you include as javascript.
bcallisona at 2007-7-13 9:25:36 > top of Java-index,Desktop,I18N...