The same way you&#x27;d do it in printf? Stringize data and insert it in the middle of static text? (Pardon my inelegant code, I&#x27;ve been away from C++ and doing Erlang for quite a while now.)<p><pre><code>  void printStuff(ostream Os, 
   string WarningPart, string SizePart, string EndPart, int Size) {
    &#x2F;&#x2F;The English version might look like:
    &#x2F;&#x2F;&quot;Warning: Size too big (200). Get smaller.&quot;
    Os &lt;&lt; WarningPart &lt;&lt; SizePart &lt;&lt; Size &lt;&lt; EndPart &lt;&lt; endl;
  };
</code></pre>
I expect that if I thought about the problem for a few minutes (and was unable to find any C++ i18n libraries) I would come up with something <i>much</i> nicer and easier to use than this thing I spent ten seconds working on. :)