wood burning stoves 2.0*
The moose likes Struts and the fly likes struts.properties struts.locale properties Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts.properties struts.locale properties" Watch "struts.properties struts.locale properties" New topic

struts.properties struts.locale properties

nobeltr ozgur

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

here is globalMessage.properties

here is globalMessage_tr.properties

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

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: http://aspose.com/file-tools
subject: struts.properties 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