Thanks. That is what I was looking for. Zdenek
mark kaplun wrote: > "Zdenek Sebl" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[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 >> > > > The "&...; " sequence works only at XUL files. For using localized strings > you should use the string bundle interface ( nsIStringBundle) and property > files. Take a look at http://www.xulplanet.com/tutorials/xultu/locprops.html > > Mark. > >
