<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">- Strings with format<br>
Example:<br>
button.set_tooltip(_('Append %s') % _('something'))<br>
<br></blockquote><div><br></div><div>The problem with this example is when you have language like Spanish,</div><div>where some of the characters can be encoded in ascii, but not all.</div><div>In this case, gettext will return a str or a PyUnicode depending of the case, </div>
<div>and if are not compatibles, the format will break.</div><div><br></div><div>The worst part, the developer can't know it, depends on the translation.</div><div><br></div><div>Gonzalo</div></div>