[ALOY-1514] Add a CLI command to extract i18n strings from alloy code and update the strings.xml files (ALSO for XML files)
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Low |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2016-08-30T20:00:09.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Alloy 1.6.0 |
Components | I18N |
Labels | alloy-cli, internationalization, xml |
Reporter | Manuel Conde Vendrell |
Assignee | Unknown |
Created | 2013-08-19T10:18:25.000+0000 |
Updated | 2018-03-06T18:50:02.000+0000 |
Description
Now that Alloy 1.2 allows to use L() in XML files, this tool must scan XML files, apart the classic JS and TSS files.
I've been tested it and it is not doing it actually.
After one year no advances on this idea? I think it will be appreciated to don't forget any L() string. If it's not too complicated, maybe even I can fix it.
Hi. I did it by myself, and seems to be working well right now. Were only 2 code line. I made a pull request: https://github.com/appcelerator/alloy/pull/527
The pull request has been accepted. Maybe this issue can be closed (or change it to testing). https://github.com/appcelerator/alloy/pull/527/
[~skypanther] thoughts?
As [~mcvendrell] says, I just tested and merged his PR. It will be in 1.6.0. I've opened TIDOC-1869 to document the new feature.
The PRs have been merged and has been released already. Resolving.