Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-6863

iOS: UI - picker values not affected by system language

    Details

      Description

      Problem

      Regardless of the language configured in iOS system settings, Titanium.UI.Picker is always displayed in English

      Test Case

      In the iOS simulator:

      1. Go to Settings
      2. General
      3. International
      4. Language > French

      Run the following code, and "Today" should be displayed as "Aujourd'hui"

      app.js

      Titanium.UI.setBackgroundColor('#000');
       
      var win1 = Ti.UI.createWindow({
      	backgroundColor:'white',
      	fullscreen:false,
      	exitOnClose:true
      });
       
      var minDate = new Date(2011,11,1);
       
      var maxDate = new Date(2012,11,31);
       
      var value = new Date();
       
      var picker = Ti.UI.createPicker({
      	type:Ti.UI.PICKER_TYPE_DATE_AND_TIME,
      	minDate:minDate,
      	maxDate:maxDate,
      	value:value
      });
      Ti.API.info('The current picker value is: ' + picker.value)
      win1.add(picker);
       
      win1.open();
      

        Attachments

          Activity

            People

            • Assignee:
              penrique Pedro Enrique (Inactive)
              Reporter:
              toutspeed Anthony
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-11512
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration