Titanium JIRA Archive
Appcelerator Community (AC)

[AC-380] iOS9: Ti.Locale.currentLanguage() returns a combination of ISO 2-letter language and country codes

GitHub Issuen/a
TypeStory
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2015-11-10T08:35:34.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterSebastian Klaus
AssigneeShak Hossain
Created2015-09-24T15:25:14.000+0000
Updated2015-11-10T08:35:59.000+0000

Description

Operating System
  Name                        = Mac OS X
  Version                     = 10.10.5
  Architecture                = 64bit
  # CPUs                      = 8
  Memory                      = 17179869184
Node.js
  Node.js Version             = 0.10.38
  npm Version                 = 1.4.28
Titanium CLI
  CLI Version                 = 5.0.3
Titanium SDK
  SDK Version                 = 5.0.0.GA
  SDK Path                    = /Volumes/Data/Users/sebastian/Library/Application Support/Titanium/mobilesdk/osx/5.0.0.GA
  Target Platform             = iphone
Ti.Locale.currentLanguage() returns a combination of ISO 2-letter language and country codes instead of only 2 letters

Comments

  1. Amimul Hossain 2015-09-28

    Hello, Seems a valid bug. It returns both country code and language code. Ex: en-US. Thanks.

JSON Source