##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# Localization support

From cppreference.com
< c

Defined in header `<locale.h>`
setlocale | gets and sets the current C locale (function) [edit]
localeconv | queries numeric and monetary formatting details of the current locale (function) [edit]
lconv | formatting details, returned by localeconv (struct) [edit]
##### Locale categories
LC_ALL LC_COLLATE LC_CTYPE LC_MONETARY LC_NUMERIC LC_TIME | locale categories for setlocale (macro constant) [edit]

### [edit] References

- C11 standard (ISO/IEC 9899:2011):

  - 7.11 Localization <locale.h> (p: 223-230)

  - 7.31.6 Localization <locale.h> (p: 455)

- C99 standard (ISO/IEC 9899:1999):

  - 7.11 Localization <locale.h> (p: 204-211)

  - 7.26.5 Localization <locale.h> (p: 401)

- C89/C90 standard (ISO/IEC 9899:1990):

  - 4.4 LOCALIZATION <locale.h>

  - 4.13.3 Localization <locale.h>

### [edit] See also

C++ documentation for Localization library

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=c/locale&oldid=78967"