[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [xml] error message in other language
- From: Daniel Veillard <veillard redhat com>
- To: Anne Müller <amueller viosys com>
- Cc: xml gnome org
- Subject: Re: [xml] error message in other language
- Date: Tue, 11 Jul 2006 10:54:06 -0400
On Tue, Jul 11, 2006 at 02:51:10PM +0200, Anne Müller wrote:
> Hi,
>
> I have an xmlErrorPtr error.
>
> I want to show error messages (error->message) like
>
> ?Element p is not declared in span list of possible children?.
>
> It works fine but I need this message in German. Has anybody an idea how
> this could work?
Hum, not trivial, you would need to look at the exact error numbers
and depending on the error either rebuild a localized error based on the
extra inforamtions given, or apply a transformation to the string (based
for example on sscanf/sprintf)
Daniel
--
Daniel Veillard | Red Hat http://redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]