[AC-3270] i18n language translation not working in Alloy
| GitHub Issue | n/a |
| Type | Improvement |
| Priority | n/a |
| Status | Closed |
| Resolution | Invalid |
| Resolution Date | 2014-09-24T01:09:03.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Alloy, Appcelerator Modules |
| Labels | android, i18n |
| Reporter | obaidjawad |
| Assignee | Shuo Liang |
| Created | 2014-09-22T08:55:37.000+0000 |
| Updated | 2016-03-08T07:57:41.000+0000 |
Description
I have put i18n folder in app/assets/i18n/en/strings.xml as per guide and also I have declared the code in .tss and also in views.xml file in this way
i18n consists of
Username_Ar
Password
Login
Members List
Organizations List
Membership Number
real_estate
and view.xml
And also I have tried to put the code in .tss file
"#password_label":{
font: { fontSize:12 },
top: 300,
left: 100,
height: 30,
text:L("password")
}
But there is no success instead, the mobile view is removing that particular text as i have displayed in the image. (3 brown dots must have 'username','password' and password) but its empty
Attachments
| File | Date | Size |
| 3.png | 2014-09-22T08:55:37.000+0000 | 364898 |
| 4.PNG | 2014-09-22T08:55:37.000+0000 | 4981 |
Anyone to help me out please?
Clean the project and run again, it works fine. What a joke!!!