SilverLight Localization Issue

G

Gavin

I want to localize silverlight application with several different languages.
The normal way is OK to show different languages, just by making several
defferent resource files for each languages. And I found those resouce dlls
shall be packed into the final .xap file. But my case is that Is there any
way not to put the language related dll's into .xap file. just by copying
each resource(zh-cn\XXX.resources.dll) into the ClientBin folder the same
folder as .xap file, for future we may manually add more language resource
dlls without changing the xap file . (Which is like normal winform or asp.net
applicaion does) .I tried this. But can not make it working. Pls advice. I
also have the demo source code. If necessary, I could forward it out.
 
G

Gregory A. Beamer

I want to localize silverlight application with several different
languages. The normal way is OK to show different languages, just by
making several defferent resource files for each languages. And I
found those resouce dlls shall be packed into the final .xap file. But
my case is that Is there any way not to put the language related dll's
into .xap file. just by copying each resource(zh-cn\XXX.resources.dll)
into the ClientBin folder the same folder as .xap file, for future we
may manually add more language resource dlls without changing the xap
file . (Which is like normal winform or asp.net applicaion does) .I
tried this. But can not make it working. Pls advice. I also have the
demo source code. If necessary, I could forward it out.

The issue with Silverlight is it has to follow the web model, which is
stateless. It does, however, have some means of holding state locally,
so it is not completely constrained.

But, it is constrained from reaching across the net to get to the
resource files without some method of getting there.

If you need a completely flexible way of localizing, I would imagine you
could make a call to a "service" that fed the proper resource names. It
would be non-standard, but the call could be made when Silverlight first
stoked up and then held locally on the client machine.

As for ClientBin, I will have to play with that and see if there is some
way to use it for the type of flexibility you desire.
 

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

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,049
Latest member
Allen00Reed

Latest Threads

Top