[ALOY-1227] Alloy doesn't add new momentjs language after i18n folder is created
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | I18N |
| Labels | i18n, moment.js |
| Reporter | Shuo Liang |
| Assignee | Unknown |
| Created | 2015-01-13T20:41:30.000+0000 |
| Updated | 2018-03-07T22:25:37.000+0000 |
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.
Steps to reproduce
1. Create a new Alloy project 2. Createi18n/en and i18n/nl, each with a strings.xml file
3. Let Alloy compile
4. Confirm Resources/alloy/moment/lang/nl.js (and en-*) is there
5. Create i18n/de with a strings.xml file
6. Let Alloy compile
7. Confirm Resources/alloy/moment/lang/de.js *is not* there
8. Delete Resoures
9. Let Alloy compile
10. Confirm Resources/alloy/moment/lang/de.js *is* there
Problem can be reproduced on Alloy 1.5.1