On Tuesday 11 September 2007 11:43:51 remi jolin wrote: > Hello, > > I've just started using i18n to get multi language capabilities to an > existing application. > So I added session_filter.on = True and i18n.run_template_filter = True > to my app.cfg > > and then run tg-admin i18n collect. > > It goes through all my .py and .kid files but in the messages.pot file > there is no string from the kid templates (only strings from the _() > calls). I can't find out what I missed. > > Any idea ? > > Another issue is that, for a few kid templates, I get messages lile > Skip xxx\templates\recap.kid: undefined entity é: line 40, column 5 > > TG 1.0.3.2
In theory, you did everything alright, because that collection should work. In practice, I f...umbled & the patches to TG 1.0.3 weren't applied. So you need to use TG 1.0.4, or better to say: the latest from the TG 1.0 branch. I hope Florent will release a new version soon. Regarding the entity-problem: when I had that, it was for non-breakable spaces which I simply replaced with their unicode-literal:  . That should work as a work-around for you. But a filed ticket to solve that problem won't hurt. I hope I can get to work on I18N-docs & stuff in the end of the week. Diez --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

