{ "id": "142754", "key": "ALOY-1227", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2015-01-13T20:41:30.000+0000", "priority": null, "labels": [ "i18n", "moment.js" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-03-07T22:25:37.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "14203", "name": "I18N", "description": "Internationalization" } ], "description": "If you add a new i18n language folder after Alloy has compiled, it won't add the {{Resources/alloy/moment/lang/*.js}} for that language until you have removed the {{Resources}} folder.\r\n\r\nh1. Steps to reproduce\r\n\r\n1. Create a new Alloy project\r\n2. Create {{i18n/en}} and {{i18n/nl}}, each with a {{strings.xml}} file\r\n3. Let Alloy compile\r\n4. Confirm {{Resources/alloy/moment/lang/nl.js}} (and {{en-*}}) is there\r\n5. Create {{i18n/de}} with a {{strings.xml}} file\r\n6. Let Alloy compile\r\n7. Confirm {{Resources/alloy/moment/lang/de.js}} *is not* there\r\n8. Delete {{Resoures}}\r\n9. Let Alloy compile\r\n10. Confirm {{Resources/alloy/moment/lang/de.js}} *is* there ", "attachment": [], "flagged": false, "summary": "Alloy doesn't add new momentjs language after i18n folder is created", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "environment": "Alloy 1.5.1", "comment": { "comments": [ { "id": "339013", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "Problem can be reproduced on Alloy 1.5.1", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2015-01-14T08:33:32.000+0000", "updated": "2015-01-14T08:33:32.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }