Hi Gaurav,

Sharma, Gaurav <[email protected]> writes:

> Does anyone has any idea about whether or not xerces provides 
> infrastructure for the localized error messages. What my need is that 
> if I set the locale by any mean to "Chinese" while initializing xerces
> then the error message returned from xerces should be Chinese.

Yes, you can configure Xerces-C++ with one of the more advanced message
loaders (e.g., ICU or MsgCatalog) which will allow you to load different
message catalogs depending on the locale/language. You will need to
study the interface/source code for the message loader of your choice
to figure out how to do this.

Boris

-- 
Boris Kolpackov, Code Synthesis        http://codesynthesis.com/~boris/blog
Compiler-based ORM system for C++      http://codesynthesis.com/products/odb
Open-source XML data binding for C++   http://codesynthesis.com/products/xsd
XML data binding for embedded systems  http://codesynthesis.com/products/xsde

Reply via email to