RSS/Atom feed Twitter
Site is read-only, email is disabled

Script to filter languages from the XML files.

This discussion is connected to the gimp-docs-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

Script to filter languages from the XML files. Joao S. O. Bueno Calligaris 21 Jan 00:44
  Script to filter languages from the XML files. Marco Ciampa 21 Jan 04:48
Joao S. O. Bueno Calligaris
2006-01-21 00:44:23 UTC (about 18 years ago)

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 ->

Marco Ciampa
2006-01-21 04:48:28 UTC (about 18 years ago)

Script to filter languages from the XML files.

On Sat, Jan 21, 2006 at 06:44:00AM -0200, Joao S. O. Bueno Calligaris wrote:

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).

It seems wonderful!
I'll do some testing, wait for the reports...