Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1227] Alloy doesn't add new momentjs language after i18n folder is created

GitHub Issuen/a
TypeBug
Priorityn/a
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsI18N
Labelsi18n, moment.js
ReporterShuo Liang
AssigneeUnknown
Created2015-01-13T20:41:30.000+0000
Updated2018-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. Create i18n/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

Comments

  1. Shuo Liang 2015-01-14

    Problem can be reproduced on Alloy 1.5.1

JSON Source