{ "id": "114986", "key": "TIMOB-14000", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2013-05-27T18:37:03.000+0000", "priority": null, "labels": [ "i18n", "internationalization", "label", "textid" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:04:09.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": [], "description": "It seams like - contrary to docs - the {{textid}} of a {{Label}} can only be set on create:\r\n\r\n{code}\r\nvar w = Ti.UI.createWindow({\r\n\tbackgroundColor: 'white'\r\n});\r\n\r\nvar l = Ti.UI.createLabel({\r\n\tcolor: 'black'\r\n\t/* Works:\r\n\t,textid: 'hello_world'//*/\r\n});\r\n\r\nw.add(l);\r\nw.open();\r\n\r\n/* Works:\r\nl.text = L('hello_world');//*/\r\n\r\n// Does not work\r\nl.textid = 'hello_world';\r\n\r\n/* Does not work:\r\nl.setTextid('hello_world');//*/\r\n\r\n/* Does not work:\r\nl.applyProperties({\r\n\ttextid: 'hello_world'\r\n});//*/\r\n{code}\r\n\r\nThe {{i18n/en/strings.xml}} for these tests was:\r\n{code}\r\n\r\n\r\n Hello world!\r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "Internationalization: textid can only be set on create?", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK 3.1.0 GA\r\niOS 6.x Simulator & Device", "comment": { "comments": [ { "id": "254123", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Why was this moved to Alloy? I don't see how it has anything to do with Alloy.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2013-05-27T20:12:52.000+0000", "updated": "2013-05-27T20:12:52.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }