Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts 2 - Using 2 different tiles definition for i18n

 
Aravind Ramanujam
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all

In Struts 1, there was a in built feature where i can use multiple tiles definition files for internationalization. I don't need to mention the specific file name to be loaded. Struts finds the right file based on the locale. All i need to do is just add a file with a new locale included in the file name as follows:


Is this feature still available in Struts 2? I've explicitly mentioned the resources to be included for internationalization in the following entry



How do i add tiles to this entry?

Thanks
- Aravindan -
 
Tudor Raneti
Ranch Hand
Posts: 145
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure but i read Tiles 2 can be plugged in Struts 2.
Struts 2 can be intermingled with struts 1 though, it should fix your problem if you already done it ye old way.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic