1.建一個js文件 安全
2.把以下內容貼入js文件中,固然中文的內容能夠改爲你須要的 服務器
// this file must be in UTF-8 format this
var uploadifyLang = new Array(); spa
uploadifyLang['buttonText'] = '選擇文件';
uploadifyLang['fileTypeDesc'] = 'All Files (*.*)';
uploadifyLang['replaceMsg1'] = '文件';
uploadifyLang['replaceMsg2'] = '已經在上傳隊列中';
uploadifyLang['replaceMsg3'] = '是否繼續上傳?';
uploadifyLang['existsMsg1'] = '文件';
uploadifyLang['existsMsg2'] = '已經上傳服務器';
uploadifyLang['existsMsg3'] = '是否繼續上傳?';
uploadifyLang['errorMsg1'] = '選擇的文件不符合要求:';
uploadifyLang['errorMsg2'] = '上傳文件的大小總和超過限制';
uploadifyLang['errorMsg3'] = '上傳文件的數目超過限制';
uploadifyLang['errorMsg4'] = '文件';
uploadifyLang['errorMsg5'] = '大小超過設定的最大值';
uploadifyLang['errorMsg6'] = '是空的';
uploadifyLang['errorMsg7'] = '不是容許上傳的文件類型';
uploadifyLang['errorString1'] = '異常';
uploadifyLang['errorString2'] = 'HTTP 錯誤';
uploadifyLang['errorString3'] = '上傳的URL地址錯誤';
uploadifyLang['errorString4'] = 'I/O異常';
uploadifyLang['errorString5'] = '安全異常';
uploadifyLang['errorString6'] = '上傳已達到極限';
uploadifyLang['errorString7'] = '超過上傳限制';
uploadifyLang['errorString8'] = '失敗';
uploadifyLang['errorString9'] = '文件找不到';
uploadifyLang['errorString10'] = '驗證錯誤';
uploadifyLang['errorString11'] = '已結束';
uploadifyLang['errorString12'] = '中止';
uploadifyLang['uploadComplete'] = "完成"; orm
3.文件用UTF-8格式保存文件 隊列
4.設置langFile參數 form