{ "id": "134454", "key": "TIMOB-17557", "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": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-07-02T06:06:50.000+0000", "created": "2014-08-09T13:12:17.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "TCSupport", "locale", "titanium" ], "versions": [ { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "issuelinks": [], "assignee": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-07-02T06:06:50.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h4. Problem Description\r\nTitanium.Locale.currentLocale return undefined. It’s a bug. \r\n\r\nh4. Steps to reproduce\r\n1. Create new mobile project (classic titanium)\r\n2. Paste this code into app.js: \r\n{code}\r\nTi.API.info('Titanium.Locale.currentLocale'+ Titanium.Locale.currentLocale); \r\n{code}\r\n3. Run this in the simulator. \r\n4. Check Ti Studio Console\r\n\r\nh4. Actual Results \r\nIts should return simulator locale name but its return undefined\r\n", "attachment": [], "flagged": false, "summary": "Titanium.Locale.currentLocale returns null", "creator": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Titanium 3.3.0 G.A", "comment": { "comments": [ { "id": "389825", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Closing as fixed, iOS-Simulator output:\r\n{code}\r\n[INFO] Titanium.Locale.currentLocale: en-US\r\n{code}", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-07-02T06:06:50.000+0000", "updated": "2016-07-02T06:06:50.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }