basic_streambuf::imbue

To change any translations base on locale.

virtual void imbue(const locale &loc);

Remarks

The imbue() function allows the derived class to be informed in changes of locale and to cache results of calls to locale functions.