I want to localize a form in my app so that all the labels are in Finnish. This is easy with all other form components, but how do I do this with a fil开发者_开发知识库e field? It always seems to give me a label "choose file" in the button and "no file chosen" immediately after the button.
This dumb file field depends only on your system locale. You cannot change way it looks or behaves, which annoys many of us, not to mention the fact that it can look completely different across different platforms.
To fight the problem you have options:
- use a flash solution like SWFUpload, etc.
- use a Javascript + CSS solution (there are many of them, e.g. this one)
精彩评论