This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
I'm making a web application using dojotoolkit. I have no problem with internationalization with struts 2, however I change my current locale to display another language, the dojotoolkit remains with the same language.
After viewing the documentation of dojo. I'm able to change the language in the dojotoolkit making this:
But I don't know how to change the language dynamically according to the locale.
Maybe there is a way to get the locale from struts 2 and then set the locale of the dojotoolkit.Something like that: