I\'d like to show the current language that the device UI is using. What code would I use?
I want this as an NSString in fully spelled out format. (Not
NSString
SWIFT-4
// To get device default selected language. It will print like short name of zone. For english, en or spain, es. let language = Bundle.main.preferredLocalizations.first! as NSString print("device language",language)