[TIMOB-19860] Titanium local differ between simulator to device
GitHub Issue | n/a |
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2015-11-04T21:30:39.000+0000 |
Affected Version/s | Release 5.0.2 |
Fix Version/s | Release 5.1.0 |
Components | iOS |
Labels | community |
Reporter | Michael Bahl |
Assignee | Angel Petkov |
Created | 2015-10-13T08:15:51.000+0000 |
Updated | 2015-11-09T22:28:32.000+0000 |
Description
Steps to Reproduce
iPad ios 9.0.2
Ti.Locale.currentLanguage: de-DE
Ti.Locale.currentLocale: de-DE
ios 8.4 simulator
Ti.Locale.currentLanguage: de
Ti.Locale.currentLocale: de-DE
Actual Result
iPad ios 9.0.2
Ti.Locale.currentLanguage: de-DE
Ti.Locale.currentLocale: de-DE
ios 8.4 simulator
Ti.Locale.currentLanguage: de
Ti.Locale.currentLocale: de-DE
Expected Result
iPad ios 9.0.2
Ti.Locale.currentLanguage: de-DE
Ti.Locale.currentLocale: de-DE
ios 8.4 simulator
Ti.Locale.currentLanguage: de << With 2 letters as documented
Ti.Locale.currentLocale: de-DE
Attachments
Hi, I have tested this issue on simulator and device. It looks like the feature *Ti.Locale.currentLanguage* gives different log for iOS 8 and iOS 9. *Log for ios 9.0.2*
*Log for ios 8.1*
*Environment*
Thanks
Hello, this is an older bug, we fixed the issue in the 5.1 release. Please download the newest SDK it will fix the issue. Thank you! http://builds.appcelerator.com.s3.amazonaws.com/index.html#5_1_X
Closing as duplicate of linked ticket.