setlocale pt br c++ code example Example: setlocale(LC_ALL("Portuguese")); setlocale(LC_ALL,("Portuguese"));