[NSLocale currentLocale]
is based on the device’s Region Format settings, not the language. If the region is set to United States you will get en_US regardless of which language you’re using.
More Related Contents:
- Obtaining an NSDecimalNumber from a locale specific string?
- HTML character decoding in Objective-C / Cocoa Touch
- Understanding reference counting with Cocoa and Objective-C
- When do you make an underscore in front of an instance variable? [duplicate]
- Why do you use an underscore for an instance variable, but not its corresponding property? [duplicate]
- What are best practices that you use when writing Objective-C and Cocoa? [closed]
- Property vs. instance variable
- How to write data in plist?
- Does UIGestureRecognizer work on a UIWebView?
- Open Source Cocoa/Cocoa-Touch POP3/SMTP library?
- Do you need to create an NSAutoreleasePool within a block in GCD?
- Interaction beyond bounds of UIView
- iPhone: Convert date string to a relative time stamp
- NSArray Equivalent of Map
- writing NSDictionary to plist in my app bundle
- Memory Management in Objective-C [duplicate]
- How to write a simple Ping method in Cocoa/Objective-C
- Objective-C Category Causing unrecognized selector
- What’s the best way to put a c-struct in an NSArray?
- NSDateFormatter dateFromString returns nil
- NSString to NSArray
- What’s the difference between “bundle display name” and “bundle name” in cocoa application’s info plist
- What is an easy way to break an NSArray with 4000+ objects in it into multiple arrays with 30 objects each?
- Using MD5 hash on a string in cocoa? [duplicate]
- How to set a custom font for entire iOS app without specifying size
- How to make ui responsive all the time and do background updating?
- Multiple value enum in Obj-C
- Why tack a protocol of NSObject to a protocol implementation
- Convert hex data string to NSData in Objective C (cocoa)
- What’s the best way to use Obj-C 2.0 Properties with mutable objects, such as NSMutableArray?