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]

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.