.Locale allows you to work safely with multiple locales in the same process. As we mentioned before, the locale generation process is not a cheap one. Thus, when we work with multiple locales and need to switch between them, we recommend that you create all the locales you need when the program starts.</p>
<p>To simplify this process, the <a class="el" href="classboost_1_1locale_1_1generator.html" title="the major class used for locale generation ">boost::locale::generator</a> class has an option to cache a