The setlocale() is a function that is used to configure and specify certain locale information.
The setlocale() is a function that is used to configure and specify certain locale category information. Such locale categories can be:
- LC_ALL
- LC_COLLATE
- LC_CTYPE
- LC_MONETARY
- LC_NUMERIC
- LC_TIME
- LC_MESSAGES
Additionally, the locale must be specified. The locale is actually the universal locale code of the currently language.
The possible locale and category values are specified in RFC 1766 and ISO 639.