• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

i18n

 
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi
were examing struts to build a multilingual webapp.
one requirement is, that the i18n text is stored in a DB rather than in text files.
how can i achieve this ?
i guess i need to subclass the MessageResources class. But how can i specify what class is used ?
k
 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've never done something like that before but look at the DTD for struts-config. It supports specifications in the message-resources element that might give you some ideas.
http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd
Good luck.
Matthew Marquand
Object Ovation, Inc.
 
karl koch
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi
thanks, ill try and go in that direction.
will let you know if it worked out. this should not stop anybody from posting tips :-)

k
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic