Transifex i18n support with kid or genshi?
May 28th, 2008 by diegobz
As part of my GSoC application, on the last weeks I have been working on the i18n support for Transifex, and now, I have too may doubts about what’s the better way to go ahead.
Transifex is a TurboGears 1.0 (TG1.0) based app and currently works with the kid language template. The next two majors TurboGears versions (1.1 and 2.0) will replace the kid with genshi. So, changing the template of our tool to genshi seems to be the right thing to do for now.
I’ve just started the job and what’s going on?
- The TG i18n support with genshi works pretty good with Babel (+1)
- Transifex uses too many widgtes in its implementation (0)
- Currently the TG1.0 widgets don’t work with genshi (-1)
- We need to use ToscaWidgets with TG1.0 and genshi (-1)
- ToscaWidgets seems to be unmaintained for a long time (-1)
- We need to migrate all widgets used in Transifex to ToscaWidgets or drop all the widgets. Both alternatives requires a lot of work. (-1)
An initial branch of Tranifex source with i18n support added on genshi is available at http://code.transifex.org/transifex-genshi/, but unfortunately the widgets don’t work for now.
In oder to have an alternative, I’ve worked on a Transifex instance with i18n support on kid too.The source is available at http://diegobz.fedorapeople.org/transifex-kid/ and a test instance at http://publictest10.fedoraproject.org/submit-diegobz/ (UPDATE: now it’s a Genshi version)
Now, let’s figure out the better way to follow.
Any comment is welcome.
Good work Diego.
We can see what added benefits widgets offer and decide either to adopt ToscaWidgets or drop them completely, like you said. Since building tables is fairly easy without widgets, I’d try to see how difficult would be to do without widgets, other things done easily with widgets.
I wonder how other projects (both in Fedora land and not) have approached the issue, and what the TG folks themselves would advice you.
[...] On the last weeks I’ve been looking for an alternative for our Tx problem related with Genshi migration and consequently widgets. Well, I’ve found a project that seems to be what we need. This [...]
Hi Diego,
Just wanted to let you know that Toscawidgets is far from being unmaintained, in fact, there are more people looking over it than never before
Moreover, a large chunk of my GSoC tasks this year is to bring it up closer to 1.0 along with top-notch docs (per request of the TG folks).
I’d like to encourage you to join our google group (toscawidgets-dicsuss) or at least browse the latest posts and take a peek of the beta website (http://beta.toscawidgets.org) before you make a final, possibly uninformed, decision.
Regards,
Alberto