2

I have a question, let's say I have <input type="file" name="image" />. Will the text of the button will change if user will have different language as his system default one? If so than how can I force this button to use English by default?

5

The only way to change this is by replacing the button, (e.g. with SWFUpload) but I don't see why you would want to.

You shouldn't change the user's system language. They've chosen their system language for a reason, and there's an expectation that their UI will be rendered in this language that they can read/understand.

  • 3
    +1 Though there are legitimate reasons to enforce UI consistency if the user has control over the web application's language - take the case of someone traveling overseas on an internet cafe computer who has a strong preference for his or her native language. – danlefree Feb 10 '12 at 13:55
  • @danlefree Heh, tell that FB, who used (may still do) to serve me ads in Spanish when browsing the English version of their site, with English browser settings on a Spanish line... – Zhaph - Ben Duguid Feb 10 '12 at 17:07
  • I think @danlefree is totally right. If the user explicitely states in which language he wants to use the webapplication, then there should be a way to force a local onto the upload file button, which is independent of the system langauge. Sadly there does not seem to be a solution. – Pascal Klein Feb 3 '16 at 19:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.