我正在 Chrome App Store 中为我的应用发布多种语言。
我正在尝试发布我的应用程序,以便它根据语言将 Chrome App Story 语言版本链接到我们的子域。
例子:
//in manifest.json:
"name": "__MSG_appName__",
"description": "__MSG_appDesc__",
"default_locale": "en",
//in _locales/en/messages.json:
{
"appName": {
"message": "My App",
"description": "The title of the application, displayed in the web store."
},
"appDesc": {
"message": "This app does something awesome.",
"description":"The description of the application, displayed in the web store."
}
>>>> THIS LANGUAGE SHOULD USE URL - EN.MYDOMAIN.COM
}
//in _locales/de/messages.json:
{
"appName": {
"message": "My Application German"
},
"appDesc": {
"message": "This application does something brilliant in German."
}
>>>> THIS LANGUAGE SHOULD USE URL - DE.MYDOMAIN.COM
}
非常感谢所有支持。如何让 Chrome App Store 根据语言重定向到正确的语言环境子域 URL?