GNOME Bugzilla – Bug 81360
Adding more languages for e.g. xmllint ouput
Last modified: 2009-08-15 18:40:50 UTC
Hi, I'd like to use xmllint as a backend for a simple GUI XML validator. As the GUI is translated into many languages the program output should also be translated. So it would be great if you could use the standard GNU way to translate xmllint/libxml2 program into many languages. Regards Daniel
Sorry, this requires dependancies (the po/ framework) that I don't want to add to libxml2/libxslt because I want to keep the libraries absolutely portable. Simply register your own error message handling methods and do the localisation at your application level. IMHO most of the time it makes absolutely no sense to pass directly a libxml or libxslt error message directly to the user level, it's far too complex. Daniel