On Tue, 2009-07-28 at 13:55 +0200, Milo Casagrande wrote: > Hi, > > 2009/7/28 Frederic Peters <fpet...@gnome.org>: > > > > > > I just filed http://bugzilla.gnome.org/show_bug.cgi?id=589965 with a > > patch; hopefully a Damned Lies developer will soon check this. > > Thanks Frederic! > > During lunch break I tested xml2po converting only to PO, not the way > back, on Empathy doc. > > One thing I noticed so far: the "comments" (<comment> ... </comment>) > tags get extracted too. Do we want that? > > Translators will see sometimes non-sense (for the document > translation) text and those comments are supposed to be read in > editing and review mode only. > > Would it be possible to skip those tags?
I think that's a fine idea. Adding comment to xml2po's "ignore tags" didn't seem to do the trick though. I've had some other places where xml2po didn't quite do what I thought it would do with the Mallard mode. If we have a "do not translate" feature, it would be nice if it supported the its:translate attribute: http://www.gnome.org/~shaunm/mallard/its.html#R012 After working on Mallard support in xml2po, I think we someone needs to sit down and really refactor xml2po to handle this and some of the other ITS stuff. I already had to make some small changes to xml2po itself to get the Mallard mode working. Danilo, I know you'll read this thread eventually. Can you chime in with your thoughts? -- Shaun _______________________________________________ gnome-i18n mailing list gnome-i18n@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-i18n