{ "id": "82816", "key": "TIMOB-6863", "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": [ { "id": "14700", "description": "2012 Sprint 25", "name": "2012 Sprint 25", "archived": true, "released": true, "releaseDate": "2012-12-17" }, { "id": "14699", "description": "2012 Sprint 25 Core", "name": "2012 Sprint 25 Core", "archived": true, "released": true, "releaseDate": "2012-12-17" }, { "id": "15707", "description": "2013 Sprint 23", "name": "2013 Sprint 23", "archived": true, "released": true, "releaseDate": "2013-11-15" }, { "id": "15708", "description": "2013 Sprint 23 API", "name": "2013 Sprint 23 API", "archived": true, "released": true, "releaseDate": "2013-11-15" } ], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2013-10-29T19:53:18.000+0000", "created": "2011-11-17T00:39:10.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_picker", "qe-3.1.3", "qe-port", "qe-testadded" ], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-23T22:46:07.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\r\n\r\nRegardless of the language configured in iOS system settings, [Titanium.UI.Picker|http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.Picker-object] is always displayed in English\r\n\r\nh2. Test Case\r\n\r\nIn the iOS simulator:\r\n# Go to Settings\r\n# General\r\n# International\r\n# Language > French\r\n\r\nRun the following code, and \"Today\" should be displayed as \"Aujourd'hui\"\r\n\r\n{code:lang=javascript|title=app.js}\r\nTitanium.UI.setBackgroundColor('#000');\r\n\r\nvar win1 = Ti.UI.createWindow({\r\n\tbackgroundColor:'white',\r\n\tfullscreen:false,\r\n\texitOnClose:true\r\n});\r\n\r\nvar minDate = new Date(2011,11,1);\r\n\r\nvar maxDate = new Date(2012,11,31);\r\n\r\nvar value = new Date();\r\n\r\nvar picker = Ti.UI.createPicker({\r\n\ttype:Ti.UI.PICKER_TYPE_DATE_AND_TIME,\r\n\tminDate:minDate,\r\n\tmaxDate:maxDate,\r\n\tvalue:value\r\n});\r\nTi.API.info('The current picker value is: ' + picker.value)\r\nwin1.add(picker);\r\n\r\nwin1.open();\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "iOS: UI - picker values not affected by system language", "creator": { "name": "toutspeed", "key": "toutspeed", "displayName": "Anthony", "active": true, "timeZone": "Europe/Paris" }, "subtasks": [], "reporter": { "name": "toutspeed", "key": "toutspeed", "displayName": "Anthony", "active": true, "timeZone": "Europe/Paris" }, "environment": "* Titanium Mobile 1.8.0.1 (12/22/11 13:09 fbdc96f)\r\n* iOS 4.3.2\r\n* iphone simulator\r\n* MacOSX Snow Leopard", "comment": { "comments": [ { "id": "173257", "author": { "name": "toutspeed", "key": "toutspeed", "displayName": "Anthony", "active": true, "timeZone": "Europe/Paris" }, "body": "File added : app.js", "updateAuthor": { "name": "toutspeed", "key": "toutspeed", "displayName": "Anthony", "active": true, "timeZone": "Europe/Paris" }, "created": "2011-11-18T07:01:05.000+0000", "updated": "2011-11-18T07:01:05.000+0000" }, { "id": "175922", "author": { "name": "toutspeed", "key": "toutspeed", "displayName": "Anthony", "active": true, "timeZone": "Europe/Paris" }, "body": "no news ?", "updateAuthor": { "name": "toutspeed", "key": "toutspeed", "displayName": "Anthony", "active": true, "timeZone": "Europe/Paris" }, "created": "2011-12-13T01:38:18.000+0000", "updated": "2011-12-13T01:38:18.000+0000" }, { "id": "177174", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Anthony\r\n\r\nNote the changes that have been made in order for this ticket to be escalated. Hence, please kindly read the [JIRA Ticket Checklist|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report] before raising any more tickets.\r\n\r\nThank you for your understanding.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-12-25T20:07:49.000+0000", "updated": "2011-12-25T20:07:49.000+0000" }, { "id": "230941", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "UIDatePicker iOS localization is kind of weird.\r\nBasically, for dates user should set corresponding Regional Format (e.g France)\r\nToday label is handled separately by both language setting (French) in System Preferences and (!) CFBundleDevelopmentRegion property in Info.plist.\r\n\r\nTitanium devs should use the example below in their tiapp.xml to set CFBundleDevelopmentRegion\r\n{code}\r\n \r\n \r\n \r\n CFBundleDevelopmentRegion\r\n France\r\n \r\n \r\n \r\n\r\n{code}", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-11T22:13:26.000+0000", "updated": "2012-12-11T22:13:26.000+0000" }, { "id": "231399", "author": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with:\r\nSDK: 3.0.0.v20121211174657\r\nStudio: 3.0.0.201212112036\r\n", "updateAuthor": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-14T07:18:24.000+0000", "updated": "2012-12-14T07:18:24.000+0000" }, { "id": "261410", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening just to update the label\r\n", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-11T08:57:45.000+0000", "updated": "2013-07-11T08:57:45.000+0000" }, { "id": "261411", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Updated label and verified:\r\n\r\nTitanium Studio:3.1.2.201307091843\r\nTitanium SDK: 3.1.2.v20130710144553\r\nacs:1.0.3\r\nalloy:1.1.3\r\nnpm:1.2.14\r\ntitanium:3.1.1\r\ntitanium-code-processor:1.0.1\r\nOS: OSX 10.8\r\nDevice:iPhone 4(v 5.1)\r\nXcode: 4.5.1", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-11T08:59:03.000+0000", "updated": "2013-07-11T08:59:03.000+0000" }, { "id": "264912", "author": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Issue still appears for iPhone5(v6.1.4)\r\nWorks fine for iPhone4\r\n\r\nVerified using:\r\nOSX: 10.8.4\r\nXcode:4.6.3\r\nAppcelerator Studio, build: 3.1.2.201308021524\r\nSDK:3.1.2.v20130802180729\r\nDevice: iPhone5(v6.1.4)", "updateAuthor": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-08-05T09:18:53.000+0000", "updated": "2013-08-05T09:29:09.000+0000" }, { "id": "269392", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue occurred with:\nXcode 5\niPhone 5 6.1.3\niPhone 5 iOS 7 beta 6\nTitanium Studio, build: 3.1.3.201308302431\nTitanium SDK: 3.1.3.v20130902103448\n\nI used the tiapp.xml sample above, and tried not only as shown, but also incorporated it in another fashion, both seem to make no difference. With iOS set to French on device, the picker is in English.\n\n", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-03T22:52:05.000+0000", "updated": "2013-09-03T22:52:05.000+0000" }, { "id": "277222", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "As mentioned in the comments above, this normal behavior. There are two language settings on iOS, the main OS language and the region language. To have the date picker on a different language the user needs to go into Settings.\r\n\r\nSettings -> General -> International -> Region Format -> pick a region (and language if applicable)", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-29T19:53:18.000+0000", "updated": "2013-10-29T19:53:18.000+0000" }, { "id": "415495", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as Won't Fix with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-23T22:46:07.000+0000", "updated": "2017-03-23T22:46:07.000+0000" } ], "maxResults": 12, "total": 12, "startAt": 0 } } }