Boost C++ Libraries: Ticket #10010: Boost 1.55 does not support setting language of description in exception https://svn.boost.org/trac10/ticket/10010 <p> You should not attempt to format a user-friendly message at the point of the throw. Instead, store in the exception object any and all information that is needed to format a user-friendly message, then use that information at the point of the catch to format the message. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10010 Trac 1.4.3 Emil Dotchevski Wed, 07 May 2014 02:54:54 GMT status, description changed; resolution set https://svn.boost.org/trac10/ticket/10010#comment:1 https://svn.boost.org/trac10/ticket/10010#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">wontfix</span> </li> <li><strong>description</strong> modified (<a href="/trac10/ticket/10010?action=diff&amp;version=1">diff</a>) </li> </ul> Ticket anonymous Wed, 07 May 2014 08:57:14 GMT <link>https://svn.boost.org/trac10/ticket/10010#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10010#comment:2</guid> <description> <p> Replying to <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/10010" title="#10010: Feature Requests: Boost 1.55 does not support setting language of description in exception (closed: wontfix)">anonymous</a>: </p> <blockquote class="citation"> <p> You should not attempt to format a user-friendly message at the point of the throw. Instead, store in the exception object any and all information that is needed to format a user-friendly message, then use that information at the point of the catch to format the message. </p> </blockquote> <p> Could you help me? I need to show error message on English language on every Windows (Windows can have Russian locale, German locale, etc. In this situation, language of message will be like locale). You use <a class="missing wiki">FormatMessage</a> and set using default locale (user' locale). Can I change this parameter in Format message? Possibly I don't know how to do it :( </p> </description> <category>Ticket</category> </item> </channel> </rss>