{ "id": "104382", "key": "TIMOB-11792", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "2012-11-05T18:04:18.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "SupportTeam" ], "versions": [ { "id": "14613", "description": "Release 2.1.4", "name": "Release 2.1.4", "archived": true, "released": true, "releaseDate": "2012-11-12" } ], "issuelinks": [ { "id": "22880", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "105099", "key": "TIMOB-11793", "fields": { "summary": "Android: New Feature: Add RTL as a property in Labels to display Arabic text properly", "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" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": null, "updated": "2018-02-28T20:03:35.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": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h3. Feature Description\r\nIn order to correctly display Arabic text we need to implement the property RTL, which will align the the text to the right. \r\n\r\nh4. More info\r\nIn CSS this is done using direction:rtl \r\n\r\nh4. Extra comment \r\nIf you are passing a string in arabic, it should already have the proper orientation (as any i18n string). ", "attachment": [], "flagged": false, "summary": "iOS: New Feature: Add RTL as a property in Labels to display Arabic text properly", "creator": { "name": "kosso", "key": "kosso", "displayName": "kosso", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "kosso", "key": "kosso", "displayName": "kosso", "active": true, "timeZone": "Europe/London" }, "environment": null, "comment": { "comments": [ { "id": "231905", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Try this. Should work with any string in label\nReference: http://www.iamcal.com/understanding-bidirectional-text/\n\n{code}\nvar win = Ti.UI.createWindow({\n backgroundColor:'white'\n});\n \nvar label = Ti.UI.createLabel({\n text:'I am LTR string',\n top:10\n})\n\nvar b1 = Ti.UI.createButton({\n title:'LTR',\n bottom:0,\n left:0\n})\n\nvar b2 = Ti.UI.createButton({\n title:'RTL',\n bottom:0,\n right:0\n})\n\nb1.addEventListener('click',function(){\n label.text = 'I am LTR string';\n})\n\nb2.addEventListener('click',function(){\n label.text = '\\u202EI am RTL string\\u202C';\n})\n\nwin.add(label);\nwin.add(b1);\nwin.add(b2);\nwin.open();\n{code}", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-12-18T21:30:27.000+0000", "updated": "2012-12-18T21:30:27.000+0000" }, { "id": "403532", "author": { "name": "hazemkhaled", "key": "hazemkhaled", "displayName": "Hazem Khaled", "active": true, "timeZone": "Europe/Istanbul" }, "body": "No problem with Arabic labels, maybe with old OS versions, i think we have to close this in favor of supporting native natural text direction alignment AC-4680", "updateAuthor": { "name": "hazemkhaled", "key": "hazemkhaled", "displayName": "Hazem Khaled", "active": true, "timeZone": "Europe/Istanbul" }, "created": "2016-12-16T20:12:55.000+0000", "updated": "2016-12-16T20:12:55.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }