...and there should be a messages.json file for each locale, as per your email.
Sam
Dear Sam, thanks as always for helping me and guide me. I did the translation of the descriptions in Spanish and Chinese. but I have doubts if it must be so, to get me I show you doubt manifest.json file that works perfectly in English. and if adding the parts you told me in Spanish and Chinese would be as follows:
the file. manifest.json that works well in the game that went up is this:
{
"name": "Falling Sand",
"description": "The game involves four different particles falling from the top of the screen, which all look and move similar to sand.",
"version": "1",
"app": {
"urls": [
],
"browse_urls": [
],
"launch": {
}
},
"icons": {
"24": "icon_24.png",
"128": "icon_128.png"
},
"permissions": [
"unlimited_storage"
]
}
now with what you told me I had to add:
appDir/_locales/en/messages.json
appDir/_locales/es/messages.json
appDir/_locales/zh_CN/messages.json
would have to be so manifest.json file: that is all in the same file:
{
"name": "Falling Sand",
"description": "The game involves four different particles falling from the top of the screen, which all look and move similar to sand.",
//in manifest.json:
"name": " Falling Sand "
"description": " The game involves four different particles falling from the top of the screen, which all look and move similar to sand"
"default_locale": "en",
//in _locales/es/messages.json:
{
"appName": {
"message": "Arena",
"description": "Este apasionante juego consiste en ir moviendo a medida que van cayendo las diferentes partículas que simulan ser arena, para crear figuras , mundos. etc."
},
"appDesc": {
"message": "Arena.",
"description":"Este apasionante juego consiste en ir moviendo a medida que van cayendo las diferentes partículas que simulan ser arena, para crear figuras , mundos. etc"
}
}
//in _locales/zh_CN/messages.json:
{
"appName": {
"message": "落砂"
},
"appDesc": {
"message": "遊戲涉及四個不同的粒子,從屏幕上方落下,而這一切的外觀和移動類似沙"
}
}
"version": "1",
"app": {
"urls": [
],
"browse_urls": [
],
"launch": {
}
},
"icons": {
"24": "icon_24.png",
"128": "icon_128.png"
},
"permissions": [
"unlimited_storage"
]
}
So I have to upload the file now ? or must be separately?. I have some error? can you show me how? I would really appreciate it sam
All the Best
Hernan