basic_streambuf::imbue

virtual void imbue(const locale &loc);

The default behavior is to do nothing.