эпопея с переводом и юникодом продолжается. Теперь проблема в Mako. На irc пытаюсь спросить на моём недоанглийском следующее: ok, so there's Decode class dpaste.org . In our pylons project we have some strings that need to be "lazy", I mean when translator is not set we can't do _(u"our_string"), we need to get some LazyUnicode(u"our_string") that will do pylons.i18n.gettext that returns unicode only when we use that lazy string. So, if you look at this method (link above) you will see how it works: it checks for isinstance(x, unicode), but our LazyUnicode is not instance of unicode (but wants to be like it). So I want to make it method look like this (maybe little different but main thing is here): dpaste.org . I mean, we can't "act like unicode string" because of old code. I hope you understand all that, because my english is not very well :-)