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 struts.locale properties 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 " struts.locale properties" Watch " struts.locale properties" New topic
Author struts.locale properties

nobeltr ozgur

Joined: Sep 20, 2009
Posts: 14
im an untrained about struts2
im learning
im using a and to multi language support for my project
i set this file on file's like

here is

here is

my locale language is turkish
and coming my browser the value of on the

but i want set allow a user to select a which language to see on webpage
how can i set struts.locale parameter ?
is it possible to set it using a querysting parameter?
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902

Not much familiar with the Struts 2, but I will google Struts 2 + i18n + change locale

[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
I agree. Here's the link:
subject: struts.locale properties
Similar Threads
parameter and scope interceptor
Configuring FreeMarker(.ftl) with Struts 2
struts2 i18n - default language
struts and encoding
Struts Internationalization Issue