Localization for Smart Documents?

  • Thread starter Scott Bellware [C# MVP]
  • Start date
S

Scott Bellware [C# MVP]

Does anyone know what the localization story/approach is for Smart Documents?
Anyone done it? It doesn't as strait-forward as Win Forms. My guess is
that locaized strings are supposed to go into the supporting XML files. I'm
wondering if I could use plain-old .NET resource files and set captions, etc
manually at runtime. Thots?

Cheers,

Scott Bellware
C# MVP
www.bellware.net
 
J

Jim Vierra

What do you expect is the mechanism that will load the resources?

You could add it to a support DLL for the document but you would have to
figure how to load it. I don't see any support for localization for
anything that comes from the XML.
 
S

Scott Bellware [C# MVP]

I was wondering if there was some kind of resource loader. I read some
slight references to lcid's in a couple of articles on MSDN - thought there
might be an answer there. No Biggie. I would need to write a helper class
to parse the XML mapping, retrieve translated resources using the resource
manager, and set the captions manually. Not as intuitive as I would hope,
but it would make an interesting article :)

Cheers,
Scott
 
J

Jim Vierra

I suspect that Microsoft might do localization down the road but it probably
doesn't have a big market.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top