Chrome扩展程序国际化错误? [英] Chrome Extension internationalization error?

查看:119
本文介绍了Chrome扩展程序国际化错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的清单文件中添加default_locale:en,然后打包并尝试上传它时,我收到错误消息说:出现错误:消息JSON文件必须采用UTF-8编码。 ...但是,这是他们告诉你如何在它们的 i18n page ...有什么问题?

When i add "default_locale": "en", to my manifest file, then package it and try to upload it, i get the error message saying, An error occurred: Message JSON file must be in UTF-8 encoding. ... But this is how they tell you to set it up in their i18n page... What is the problem?

推荐答案

刚刚解决了这个问题...谷歌搜索后一段时间...事实证明即使使用UTF-8编码MS记事本是不够的...下载记事本2...并将编码设置为utf-8 ...不知何故它现在可以工作!

just solved the issue... After googling awhile... turns out MS notepad is inadequate even with utf-8 encoding... Download "Notepad2"... and set the encoding to utf-8... somehow it works now!

这篇关于Chrome扩展程序国际化错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆