This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes dojotoolkit i18n in struts 2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "dojotoolkit i18n in struts 2" Watch "dojotoolkit i18n in struts 2" New topic
Author

dojotoolkit i18n in struts 2

Marc Martin
Greenhorn

Joined: Jan 03, 2011
Posts: 1
Hi everybody,

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:



Thank you in advance.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: dojotoolkit i18n in struts 2
 
Similar Threads
Dojo 1.1.2 Can't loaded in Firefox 3.5.5 browser
DOJO1.2.3/ IE7 /addOnLoad()
Need some help with drag and drop of dojox.gfx
DOJO : Suppourted attributes in the script tag
Please help me for develop simple Dojo Grid