|
Will struts work for parameterized message in internationlization
Dear All,
I am working in a product which is running under struts. I have a message resource error.message.required = Please enter {0}
whenever i want display the different message
i will use like this in the JSP page
alert('<bean:message key="error.message.required arg0="First Name"/>');
alert('<bean:message key="error.message.required arg0="Last Name"/>');
my doubt is when i change the Locale to another say French(fr). I have to make another Message Resource Say MessageResource.fr with the text in french.
What will happened to the First Name and Last Name which i used in the JSP
Page will it display the same as First Name and Last Name or it will display in french. If not then how can i overcome the problem.
Waiting for the Reply
Thanks & Regards,
Felix
|