How to get localized string value from C++?

Zdenek Sebl <[email protected]> Wed, 28 Aug 2002 08:45:23 +0200
Newsgroups gmane.comp.mozilla.devel.xpcom
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Hello,
is there any way how to create localized attribute values using C++ DOM 
interface. If I create new node and set attribute using

element->SetAttribute(NS_LITERAL_STRING("value"), 
NS_LITERAL_STRING("&localizedString;"));

value "&localizedString;" is not replaced with correct localized string 
from relevant DTD file.

Is there any method like GetLocalizedString(in stringIdentifier, out 
localizedString)?

Thanks,
     Zdenek