It's generated by the Xlat tool (located in <xerces-src>\tools\NLS\Xlat).
Compile it, add a folder <xerces-src>\src\xercesc\NLS\ES_ES with a file
XMLErrList_ES_ES.Xml with your translation and run the tool using
Xlat.exe /SrcRoot=C:\Xerces\Xerces-C\ /OutPath=output\ /OutFmt=Win32RC
/Locale=ES_ES
Then manually merge the generated Output\CppErrMsgs_es_ES.RC file into
Version.rc.
If you don't care about keeping both sets of resource messages, just
overwrite the existing messages with the new set.
Alberto
On 10/29/2010 11:26 PM, Hilario Perez Corona wrote:
Hi,
Digging on the source code, i found this message:
// ----------------------------------------------------------------
// This file was generated from the XML error message source.
// so do not edit this file directly!!
// ----------------------------------------------------------------
On the util/MsgLoaders/Win32/Version.rc file.
But i cannot find the source XML.
I think this is needed if i want to change the default language of the
errors from English to Spanish.
I don't need localized messages based on the computer settings, just need to
translate the messages to spanish...
Any help is appreciated.