• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts.properties struts.locale properties

 
nobeltr ozgur
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
struts.custom.i18n.resources=globalMessage

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?
regards
ozgur
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not much familiar with the Struts 2, but I will google Struts 2 + i18n + change locale
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic