Chrome 网上应用店不接受印地语本地化消息文件
Chrome Web Store does not accept localization message file in hindi
我已经为 Google Chrome 开发了一个扩展,现在我将其本地化为多种语言。我已经成功地将它本地化为使用不同字母表的多种语言(例如俄语、希伯来语……),但今天我试图将包含印地语本地化的扩展的新版本上传到网上商店,但我收到以下错误:
An error occurred: Failed to process your item.
_locales/hi/messages.json:1:1: a object must begin with '{'.
印地语 (hi) 的 messages.json 文件包含以下内容:
{
"appName": {
"message": "Mind the Word",
"description": "The title of the application, displayed in the web store."
},
"appDesc": {
"message": "इंटरनेट सर्फिंग करते समय भाषा सीखें|",
"description": "The description of the application, displayed in the web store."
}
}
我怀疑是编码问题。我该如何解决?
我不小心将 messages.json 文件的编码更改为 UTF-16。当我将编码改回 UTF-8 时,我可以将新版本的扩展上传到网上商店。
我已经为 Google Chrome 开发了一个扩展,现在我将其本地化为多种语言。我已经成功地将它本地化为使用不同字母表的多种语言(例如俄语、希伯来语……),但今天我试图将包含印地语本地化的扩展的新版本上传到网上商店,但我收到以下错误:
An error occurred: Failed to process your item.
_locales/hi/messages.json:1:1: a object must begin with '{'.
印地语 (hi) 的 messages.json 文件包含以下内容:
{
"appName": {
"message": "Mind the Word",
"description": "The title of the application, displayed in the web store."
},
"appDesc": {
"message": "इंटरनेट सर्फिंग करते समय भाषा सीखें|",
"description": "The description of the application, displayed in the web store."
}
}
我怀疑是编码问题。我该如何解决?
我不小心将 messages.json 文件的编码更改为 UTF-16。当我将编码改回 UTF-8 时,我可以将新版本的扩展上传到网上商店。