Script to filter languages from the XML files.
Hi,
I finally could get the script in a usable form:
pick it as the attachemnt for bug 171701
(http://bugzilla.gnome.org/show_bug.cgi?id=171701 ).
It will need a 3rd party python module for now:
http://effbot.org/downloads/
It does everything but build a kitchen sink.
(ok, and some xml formatting at the end).
when called from the gimp-helper-2 base dir, an given src/.../file.xml
as files to operate, it will create a separate dir. structure under
"working_dir" which will have a filtered out counterpart of the XMLs
choosen.
After editing, calling the script with the different parameters will
merge back this work version of the XML on the main tree. But a file
is kept in the "working_dir" structure, in a .helper directory that
will be created for each dir. int there. This file willbe compared
with the XML the next time it is filtered, and tags that had changed
in CVS will be marked as "changed" - more or less the same way
"fuzzy" works in .po files.
JS
->