one possibility is to use applicationresources. like this: struts finds the client language from the request and calls the specific applicationresource file automatically. suppose the name of your application resource file is ApplicationResources.properties => this file is used for default language/English now if oyu want to add support German language the create a new resource file with same name .. but add _de at the end like this: ApplicationResources_de.properties => now when struts finds an german request then it will load the resources from ApplicationResources_de.properties file.
=========== using resources: resources can be used by bean:message tag like : <bean:message key="title.login"/> entries in respectives files looks like => default: title.login=New Admin console _de: title.login=Admin Konsole
one possibility is to use applicationresources. like this: struts finds the client language from the request and calls the specific applicationresource file automatically. suppose the name of your application resource file is ApplicationResources.properties => this file is used for default language/English now if oyu want to add support German language the create a new resource file with same name .. but add _de at the end like this: ApplicationResources_de.properties => now when struts finds an german request then it will load the resources from ApplicationResources_de.properties file.
=========== using resources: resources can be used by bean:message tag like : <bean:message key="title.login"/> entries in respectives files looks like => default: title.login=New Admin console _de: title.login=Admin Konsole