Win a copy of Get Programming with Java (MEAP only) this week in the Beginning Java forum!

b boy

Greenhorn
+ Follow
since Dec 28, 2018
b likes ...
Eclipse IDE Java Spring
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by b boy

Different countries/regions may have different text for the same language. If the key cannot be found in the country-specific properties, can automatically go up to search the Default properties. Does Struts2 has built-in support for this? If not, how to program to support such requirement? Or any better way to support multiple countries?

For example,
Default:
  • myaction.properties
  • myaction_zh.properties
  • myaction_zh_TW.properties


  • Taiwan:
  • myaction_TW.properties
  • myaction_TW_zh_TW.properties


  • Singapore:
  • myaction_SG.properties
  • myaction_SG_zh.properties
  • myaction_SG_zh_TW.properties
  • 3 weeks ago