For example, you can report the user's language as a string localized in that language using the autoupdating locale obtained in the previous example: property that ensures dates are converted to strings that match the user's expectations about date formatting.
By default, this property indicates the user's current locale, which is usually the behavior you want, but you can instead set it to another locale instance to obtain a different output.
I assume reader is already familiar with basic internationalization facilities and approaches used in i OS apps development.
The distinctions and details I cover in this article were a bit confusing for me when I first started introducing internationalization in my apps, so I decided to wrap it up for myself and any curious developer.
See Data Formatting Guide for more information about working with formatters.
Use this property when you want a locale that always reflects the latest configuration settings.
For properties containing a code or identifier, you can then obtain a string suitable for presentation to the user with the methods listed in Getting Display Information About a Locale.
So, NSBundle is usually the one to ask for language.
Say, there’s a girl Jane, who likes [ to get with her.
The current Locale only retrieve an locale object one time from the current user's settings.
autoupdating Current Locale updates the locale object on the fly so you don't need to validate.