struts having default resource properties "myresource.properties" and language resource properties "myresource_en.properties" but in real time in my project I have all English non-adaptation co开发者_如何学Gontent in "myresource.properties" file then why we need to use "myresource_en.properties" file.
Any one could you please explain the reason why struts having "myresource.properties" as default and "myresource_en.properties" for english.
The _xx mentioned above stands for the country ISO code of the language you want to support. If you want to support English and German, you have to supply the files:
myresource_de.properties (German)
myresource_en.properties (English)
myresource.properties (fallback for all other ISO codes)
Edit :
myresource.properties (fallback for all other ISO codes)
this is used to hold for characters such as hexnumeric characers etc
精彩评论