aspose file tools*
The moose likes Struts and the fly likes Language supported by my web application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Language supported by my web application" Watch "Language supported by my web application" New topic
Author

Language supported by my web application

Arun Ak
Greenhorn

Joined: Jun 21, 2009
Posts: 21
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

Joined: Jun 21, 2009
Posts: 21
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Language supported by my web application
 
Similar Threads
Custom Locales?
User to Choose Language Explicitly
Resource Bundles
Override request headers
java.util.MissingResourceException