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