There are some features within my application that are supposed to be based on the language settings of the device where it\'s running.
I want to get the actual language
Getting language and region in Swift:
Swift
LF.log("language", NSLocale.preferredLanguages()) LF.log("locale", NSBundle.mainBundle().preferredLocalizations)
In my case I'm getting:
language: '( "zh-Hans" )' locale: '( en )'