multi language resource files in single dll??

R

rizwanahmed24

Hi

i have a project that has to be in two languges. therefore i have
resource files for english and for german. i am using the dll of this
project in to another project. the problem i am facing is that when i
compile the project the english resource files gets embedded in to the
project dll. but the german resource files are compiled in to file
outside the dll.

How can i embedd resource files for all languages in the same dll?

Regards
Rizwan
 
N

Nicholas Paldino [.NET/C# MVP]

Rizwan,

I don't think you can in such a way that the localization classes will
pick up on resources for different cultures. You would have to come up with
a mechanism to tag your resources for different languages yourself. It's
just not worth it, IMO.

There are some programs out there which can take a program and all
referenced assemblies and produce one executable, but I don't know that they
handle localization well. It might be worth looking into.
 

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