This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
For JS, there is only one file, and I can get the language from some class and then display proper prompts after checking the language, because having different JS files, I think will build up the work.
Now I do not know how to call the java method from the JS file, and determine the language. Please help me.
Update: I have specified seperate file name in a JSP thats included with every other JSP, and there I can get the language simply there.
But please explain me this:
Bear wrote: Or better yet, have a JS file for each language that only contains a translation table for the text