html - 输入类型=文件 文件上传语言

标签 html file-upload multilingual

我正在使用文件浏览控件将文件上传到服务器。 HTML如下:

<input id="fileUpload"  type="file" class="" multiple="" required="" accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" />

在 IE 中呈现如下

enter image description here

在 Chrome 中如下: enter image description here

我想更改其语言。例如“浏览”到“feuilleter” 和“未选择文件”至“Aucun fichier choisi

我们如何做到这一点。

最佳答案

如果我理解的话,您希望您的浏览器将其语言更改为法语。我的是法语的 <input id="fileUpload" type="file" class="" multiple="" required="" accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" />

让我在 Chrome 上 enter image description here

还有 enter image description here在火狐浏览器上

您的问题是您的浏览器是英文的

关于html - 输入类型=文件 文件上传语言,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31001258/

相关文章:

javascript - 在浏览器中从当前位置滚动距离后检测滚动

html - 在 Bootstrap 表中添加 Bootstrap Glyphicons

jquery - 将所有选择选项文本更改为大写、Jquery 或 CSS

javascript - 文本作为文本框输入的占位符?

file-upload - 提供的 'HttpContent' 实例无效。它没有带有 'multipart' 参数的 'boundary' 内容类型 header

javascript - jQuery 文件上传 - 如何识别所有文件何时上传

java - 没有关系数据库的多语言网站

java - 上传pdf文件

php - MySQL 驱动的多语言网站的表架构

PHP - 多语言应用程序设计