← Back to team overview

gwibber-team team mailing list archive

Gwibber i18n status

 

Hello list!

I was looking at the i18n status of Gwibber trunk, in order to update
it. I proposed a merge with some initial work, but there is a possible
problem, or at least something that need to be taken care of.

The supposed problem is with the mako template files: i18n on those
files is not supported by intltool nor gettext. Looks like the only
way to do it is by using Babel [1], but that would mean lose all the
Launchpad integration since it's a totally different system (at least
from the brief look I've had), and another dependency.

I don't know how mako templates work, but is it possible to pass from
the Python file to the template, the strings that need to be
localized? In that way we can have the strings in the Python code,
mark the strings for translation from there and use all the
intltool/gettext magic.

Ciao.

[1] http://babel.edgewall.org/

-- 
Milo Casagrande <milo@xxxxxxxxxx>