I18N with classes instead of properties?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Bryan_Glennon
Posted On:   Thursday, January 17, 2002 10:21 AM

Is it possible to use ResourceBundle classes for messages rather than text-based properties files? Everything else in our current project uses the class-based approach, and I would like to keep it consistent.


Thanks,

Bryan

Re: I18N with classes instead of properties?

Posted By:   Ted_Husted  
Posted On:   Sunday, January 20, 2002 04:55 AM


You could use the Struts message class as a facade,
and retrieve the translations from someplace else,
if that is what you are asking.



You might also want to look at what JSTL is proposing
for their I18N bundles, to be sure your current approach
will remain compatiable with the rest of the
industry.



-Ted

About | Sitemap | Contact