{ "id": "64112", "key": "TIMOB-3480", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-06-07T22:45:33.000+0000", "created": "2011-04-15T03:45:44.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-07T22:45:33.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": "{html}

Recent i18n commits added lots of cool functionality but still\nthere is no obvious method to setcurrentLanguage or something like\nthis in Locale API. There are certain usecases when\nsetcurrentLanguage would be interesting. IMO getcurrentLanguage\nshould also have proper fallback system as follow:

\n
    \n
  1. get language code from Properties
  2. \n
  3. If above fails then get language code from Phone
  4. \n
  5. If that fails then to default value
  6. \n
\n

Now it is possible to change language at least for iPhone using\nthis

\n

Titanium.App.Properties.setList(\"AppleLanguages\",[\"de\",\n\"en\"]);

\n

but there should be a method in Locale API

{html}", "attachment": [], "flagged": false, "summary": "Set application current language", "creator": { "name": "deepak", "key": "deepak", "displayName": "Deepak", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "deepak", "key": "deepak", "displayName": "Deepak", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "421302", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket due to the time passed and lack of progress.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-07T22:45:33.000+0000", "updated": "2017-06-07T22:45:33.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }