{ "id": "100757", "key": "TIMOB-10834", "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": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2012-09-13T20:59:52.000+0000", "created": "2012-09-11T02:25:52.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api" ], "versions": [ { "id": "14096", "description": "Release 2.1.2", "name": "Release 2.1.2", "archived": true, "released": true, "releaseDate": "2012-08-31" } ], "issuelinks": [], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T23:46:23.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": "h2. Problem description\r\nWhen the iOS device is set to Slovenian (SL), Ti.Locale.getCurrentLanguage() returns the code for Slovak (SK). This makes the i18n translation files unreadable by the app.\r\n\r\nh2. Steps to reproduce\r\n- create the i18n folder and add a string for the Slovenian language (folder must be called 'sl')\r\n- alert the L('sentence') value, or the Ti.Locale.getCurrentLanguage() response, in the app.js\r\n\r\nh2. Expected results\r\nThe app uses the correct langage code (SL) and the translation is displayed correctly.\r\n\r\nh2. Current result\r\nThe language code returned is SK, so the translation is not working properly.", "attachment": [], "flagged": false, "summary": "iOS: when the device is set to Slovenian language (SL), Ti.Locale.getCurrentLanguage() returns SK (Slovak)", "creator": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "218795", "author": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "body": "This looks to be a problem with Apple: I've created a native app, and the Slovak language file is loaded when the device is set to Slovenian.", "updateAuthor": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-09-13T07:16:58.000+0000", "updated": "2012-09-13T07:16:58.000+0000" }, { "id": "411112", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing this ticket as it is not our bug.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T23:46:23.000+0000", "updated": "2017-03-09T23:46:23.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }