By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,305 Members | 1,903 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,305 IT Pros & Developers. It's quick & easy.

Question about satellite assemblies

P: n/a
Let's say that I've built an assembly, called myapi.dll whose default
resource messages are english. Then let's say I create a german
satellite assembly for the assembly called myapi.de.resources.dll.
However, let's say that I have a german client who is using both
myapi.dll and myapi.de.resources.dll; however, they would like to
override a single resource string from myapi.de.resources.dll. Is it
possible for them to create a "satellite for the satellite", and
override a single string from my german satellite assembly? This would
be very useful to me, but I just can't figure out how to do it.
So the structure would be something like this:
myapi.dll
-- myapi.de.resources.dll
-- -- myapi.de.client1.resources.dll (contains a single resource string
that overrides the equivalent resource string in
myapi.de.resources.dll)
Thanks very much for your help,
Shaun Pedicini

Aug 2 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
I don't think the built-in mechanism to manage resources lends itself
to such scenarios, because satellites assemblies have to follow
specific naming conventions to be properly recognized. That said, you
can still manually detect the current culture settings and extract
resources from whatever assembly accordingly. And that gives you extra
flexibility coz now you're responsible for managing the assembly and
you can put it wherever you want to (no need to be in those sub-folders
with culture names).

sc********@gmail.com wrote:
Let's say that I've built an assembly, called myapi.dll whose default
resource messages are english. Then let's say I create a german
satellite assembly for the assembly called myapi.de.resources.dll.
However, let's say that I have a german client who is using both
myapi.dll and myapi.de.resources.dll; however, they would like to
override a single resource string from myapi.de.resources.dll. Is it
possible for them to create a "satellite for the satellite", and
override a single string from my german satellite assembly? This would
be very useful to me, but I just can't figure out how to do it.
So the structure would be something like this:
myapi.dll
-- myapi.de.resources.dll
-- -- myapi.de.client1.resources.dll (contains a single resource string
that overrides the equivalent resource string in
myapi.de.resources.dll)
Thanks very much for your help,
Shaun Pedicini
Aug 3 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.