Yes you can.

Since you are using a .js file (client side include), if you prefer to have
the least amount of impact on your application, change it to a .jsp file and
add the necessary changes (adding bean:message for each i18n'd message)

Is this enough info?

If you need further assistance, submit a portion of your validation scripts
and I'll send you back a working example.


James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org




> -----Original Message-----
> From: sridhar [mailto:sridhard@;tatanova.com]
> Sent: Saturday, October 19, 2002 2:21 PM
> To: [EMAIL PROTECTED]
> Subject: i18n messages in javascript js file
>
>
> My application uses javascript validations (at the client side)
> and all the validations are done in a validate.js file and
> displays the error messages with alerts. And all the messages in
> the javascript are hardcoded and the js file is used in many
> jsp's. Can i make the messages internationalized using struts
> frames work? if yes how can i do that ?
>
> thanks in advance.
> sridhar
>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to