ups! No, you are right, sorry!!! I have this code in one of our pages (the one that uploads a file) but it doesn't work. It is just ignored and use the browser's locale texto of "Browse".
In other thread ( image button for file upload ) there could be a solution for this issue. Sorry for the misunderstanding. Cheers. Guillermo. >-- Mensaje original -- >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >Date: Mon, 23 Aug 2004 09:28:09 -0700 (PDT) >From: struts lover <[EMAIL PROTECTED]> >Subject: RE: localizing the browse button >To: Struts Users Mailing List <[EMAIL PROTECTED]> > > >Wont work !!!! Does this work for you ?? > > > >--- Guillermo Meyer <[EMAIL PROTECTED]> wrote: > >> Try this: >> >> <html:file property="file"> >> <bean:message >> key="button.find"/> >> </html:file> >> >> This will get the button.find property from >> ApplicationResources.properties >> (or whatever acording to Locale) and set this >> literal to the browse button. >> >> Cheers. >> >> >-- Mensaje original -- >> >Reply-To: "Struts Users Mailing List" >> <[EMAIL PROTECTED]> >> >Date: Mon, 23 Aug 2004 08:19:45 -0700 (PDT) >> >From: struts lover <[EMAIL PROTECTED]> >> >Subject: localizing the browse button >> >To: [EMAIL PROTECTED] >> > >> > >> >Hi, >> >I am using the <html:file> tag for file upload. It >> has >> >a button whose text displays Browse in English. Is >> >there any way of localizing the Browse button, so >> that >> >it displays the text from the properties file >> >depending on the locale selected by the user. >> > >> >Thanks >> > >> > >> > >> >_______________________________ >> >Do you Yahoo!? >> >Win 1 of 4,000 free domain names from Yahoo! Enter >> now. >> >http://promotions.yahoo.com/goldrush >> > >> >>--------------------------------------------------------------------- >> >To unsubscribe, e-mail: >> [EMAIL PROTECTED] >> >For additional commands, e-mail: >> [EMAIL PROTECTED] >> > >> >> >> ________________________________________ >> FiberTel, el nombre de la banda ancha >> http://www.fibertel.com.ar >> >> >> >> >--------------------------------------------------------------------- >> To unsubscribe, e-mail: >> [EMAIL PROTECTED] >> For additional commands, e-mail: >> [EMAIL PROTECTED] >> >> > > >__________________________________________________ >Do You Yahoo!? >Tired of spam? Yahoo! Mail has the best spam protection around >http://mail.yahoo.com > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > ________________________________________ FiberTel, el nombre de la banda ancha http://www.fibertel.com.ar --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]