#####  [ cppreference.com ](/)

[ Create account
](/mwiki/index.php?title=Special:UserLogin&returnto=cpp%2Flocale&type=signup)

  * [ Log in ](/mwiki/index.php?title=Special:UserLogin&returnto=cpp%2Flocale "You are encouraged to log in; however, it is not mandatory \[o\]")

#####  Namespaces

  * [ Page ](/w/cpp/locale "View the content page \[c\]")
  * [ Discussion ](/w/Talk:cpp/locale "Discussion about the content page \[t\]")

#####  Variants

#####  Views

  * [ View ](/w/cpp/locale)
  * [ Edit ](/mwiki/index.php?title=cpp/locale&action=edit "You can edit this page. Please use the preview button before saving \[e\]")
  * [ History ](/mwiki/index.php?title=cpp/locale&action=history "Past revisions of this page \[h\]")

#####  Actions

#  Localization library

From cppreference.com

< [ cpp ](/w/cpp "cpp")

[ C++ ](/w/cpp "cpp")

[ Compiler support ](/w/cpp/compiler_support "cpp/compiler support")  
---  
[ Freestanding and hosted ](/w/cpp/freestanding "cpp/freestanding")  
[ Language ](/w/cpp/language "cpp/language")  
[ Standard library ](/w/cpp/standard_library "cpp/standard library")  
[ Standard library headers ](/w/cpp/header "cpp/header")  
[ Named requirements ](/w/cpp/named_req "cpp/named req")  
[ Feature test macros ](/w/cpp/feature_test "cpp/feature test") (C++20)  
[ Language support library ](/w/cpp/utility#Language_support "cpp/utility")  
[ Concepts library ](/w/cpp/concepts "cpp/concepts") (C++20)  
[ Metaprogramming library ](/w/cpp/meta "cpp/meta") (C++11)  
[ Diagnostics library ](/w/cpp/error "cpp/error")  
[ General utilities library ](/w/cpp/utility "cpp/utility")  
[ Strings library ](/w/cpp/string "cpp/string")  
[ Containers library ](/w/cpp/container "cpp/container")  
[ Iterators library ](/w/cpp/iterator "cpp/iterator")  
[ Ranges library ](/w/cpp/ranges "cpp/ranges") (C++20)  
[ Algorithms library ](/w/cpp/algorithm "cpp/algorithm")  
[ Numerics library ](/w/cpp/numeric "cpp/numeric")  
**Localizations library**  
[ Input/output library ](/w/cpp/io "cpp/io")  
[ Filesystem library ](/w/cpp/filesystem "cpp/filesystem") (C++17)  
[ Regular expressions library ](/w/cpp/regex "cpp/regex") (C++11)  
[ Concurrency support library ](/w/cpp/thread "cpp/thread") (C++11)  
[ Technical specifications ](/w/cpp/experimental "cpp/experimental")  
[ Symbols index ](/w/cpp/symbol_index "cpp/symbol index")  
[ External libraries ](/w/cpp/links/libs "cpp/links/libs")  
  
[ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/navbar_content&action=edit)

**Localization library**

[ Locales and facets ](/w/cpp/locale#Locales_and_facets "cpp/locale")  
---  
[ Locales ](/w/cpp/locale#Locales "cpp/locale")  
|  [ has_facet  ](/w/cpp/locale/has_facet "cpp/locale/has facet")  
---  
[ use_facet  ](/w/cpp/locale/use_facet "cpp/locale/use facet")  
  
|  [ locale  ](/w/cpp/locale/locale "cpp/locale/locale")  
---  
  
  
  
[ Facet category base classes ](/w/cpp/locale#Facet_category_base_classes
"cpp/locale")  
|  [ ctype_base  ](/w/cpp/locale/ctype_base "cpp/locale/ctype base")  
---  
[ codecvt_base  ](/w/cpp/locale/codecvt_base "cpp/locale/codecvt base")  
[ messages_base  ](/w/cpp/locale/messages_base "cpp/locale/messages base")  
  
|  [ time_base  ](/w/cpp/locale/time_base "cpp/locale/time base")  
---  
[ money_base  ](/w/cpp/locale/money_base "cpp/locale/money base")  
  
  
  
[ ctype facets ](/w/cpp/locale#ctype_facets "cpp/locale")  
|  [ ctype  ](/w/cpp/locale/ctype "cpp/locale/ctype")  
---  
[ ctype_byname  ](/w/cpp/locale/ctype_byname "cpp/locale/ctype byname")  
[ ctype<char> ](/w/cpp/locale/ctype_char "cpp/locale/ctype char")  
  
|  [ codecvt  ](/w/cpp/locale/codecvt "cpp/locale/codecvt")  
---  
[ codecvt_byname  ](/w/cpp/locale/codecvt_byname "cpp/locale/codecvt byname")  
  
  
  
[ numeric facets ](/w/cpp/locale#numeric_facets "cpp/locale")  
|  [ num_get  ](/w/cpp/locale/num_get "cpp/locale/num get")  
---  
[ num_put  ](/w/cpp/locale/num_put "cpp/locale/num put")  
  
|  [ num