56
56
:returns: concatenated translated message as unicode.
58
58
paragraphs = message.split(u'\n\n')
60
60
# Be careful not to translate the empty string -- it holds the
61
61
# meta data of the .po file.
62
62
return u'\n\n'.join(ugettext(p) if p else u'' for p in paragraphs)
68
72
lang = _get_current_locale()
71
75
localedir=_get_locale_dir(),
72
76
languages=lang.split(':'),