Hi Christian, On Fri, 2009-03-20 at 09:16 -0700, Christian Poecher wrote: > Hi Faces users, > > I am using Trinidad 1.1.6 and use the t:inputFileUpload component. Our > application runs mostly on German clients (probably some south-east asians > clients soon as well), but our app is completely localized in English. When > I use the t:inputFileUpload component it renders a "Browse..." Button, which > will be displayed in the clients OS language. So we end up having a web page > in English with just a single Button in a different language. Although not > critical, we would like to change it into English as well. > > Does anyone have a suggestion?
File upload controls in HTML are fairly primitive; they provide no option to configure the language (see the HTML spec). And of course all JSF components in the end just generate HTML, so are limited by the abilities of HTML. I suspect it is possible for clever javascript/DOM tricks to create a hidden file-upload button that is "clicked" by another (normal) html button. However that is not currently part of Tomahawk's fileupload component AFAIK. I believe Trinidad has some clever hacks to make file upload look nicer; I don't know the details though. Regards, Simon

