Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Language supported by my web application

 
Arun Ak
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have application which supports different languages, and I have screen for user which allow him/her to select his preferred language (user allowed to select only language which web application supports).

My question is how do I know what languages resource bundle are available in my deployed web application. (I load resource bundle as struts.custom.i18n.resources=globalMessages) If I know it then I allow user to select one of the supporting language as user preferred language.



Please help me.

Thanks,
Arun
 
Arun Ak
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am happy inform you that I found answer for my question

you can get struts.properties values in one of action class ......



Regards,
Arun
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic