Questions tagged [satellite-assembly]

A satellite assembly is a compiled library (DLL) that contains (“localizable”) resources such as strings, bitmaps, etc. You are likely to use them when creating a multilingual (UI) application. By definition, satellite assemblies do not contain code, except for that which is auto generated.

A satellite assembly is a compiled library (DLL) that contains (“localizable”) resources such as strings, bitmaps, etc. You are likely to use them when creating a multilingual (UI) application. Satellite assemblies provide you with the capability of designing and deploying your solution to multiple cultures, rather than hard coding strings, bitmaps, etc., into your main application. Satellite assemblies are used to deploy applications in multiple cultures (not languages), with 1 satellite assembly per culture - this is the default behavior, but you can obviously have more granular control if you handle the build process manually.

By definition, satellite assemblies do not contain code, except for that which is auto generated. Therefore, they cannot be executed as they are not in the main assembly. However, note that satellite assemblies are associated with a main assembly that usually contains default neutral resources (for example, en-US). A big benefit is that you can add support for a new culture or replace/update satellite assemblies without recompiling or replacing the application’s main assembly.

Resource files have the extension .resx and are stored in folders matching the culture. Once compiled, .resources files are created. These are binary representations of the .resx files. Once the satellite assembly is generated, the resources will be stored in a .dll file.

From MSDN blogs

98 questions
0
votes
1 answer

Multi Language Pages

In My Project, there are different web pages and My requirement is when a User logs on based on user's language,page has to be displayed in user language. I have googled it,but does not get proper solution. I have got Satellite Asssemblies as a…
F11
  • 3,703
  • 12
  • 49
  • 83
0
votes
1 answer

Nant and satellite assemblies

Am looking for a Nant sample with satellite assemblies. I googled now for hours without success. I got this far: and the csc…
yonexbat
  • 2,902
  • 2
  • 32
  • 43
0
votes
2 answers

Can .NET automatically support localization for a parent culture?

I have a .NET application that has been translated for the pt-BR locale, resulting in a satellite assembly: pt-BR/MyApp.resources.dll I do not have a translation for the pt-PT locale. I expected the pt-BR assembly to be used when the pt-PT culture…
ladenedge
  • 13,197
  • 11
  • 60
  • 117
0
votes
2 answers

Use satellite assemblies from another dll

I have a dll which contains some resx files as EmbeddedResources for the localization. That dll is used mostly for the creation of ASP.NET websites and it's worked fine. But when I use the dll in my test project (basically that's just another dll),…
Jérémie Bertrand
  • 3,025
  • 3
  • 44
  • 53
0
votes
1 answer

How can I consume satellite assemblies declaratively in ASP.NET

This is it, I've been learning about satellite assemblies, and I think I already understood how to create them and how to use them in code with the ResourceManager The problem is that I would like to consume a satellite assmebly via the page's…
Jupaol
  • 21,107
  • 8
  • 68
  • 100
0
votes
1 answer

Having a separate project for satellite assembly for globalization for a solution with a Silverlight and ASP.NET application

I'm trying to figure out a way to have a separate project for my two applications that are in the same solution. Can this be done? I can't find any examples and even tutorials for globalization with satellite assemblies are pretty bad. I want both…
0
votes
2 answers

Localizing with satellite assemblies

I am trying using satellite assemblies for localization in WinForms application. The directory structure is as follows: bin Program.exe de Program.resources.dll In the Program.exe, this code is executed in Main…
paulius_l
  • 4,983
  • 8
  • 36
  • 42
-1
votes
1 answer

Sattelite Assembly - pros and cons

I am planning to store non executable files of my solution in satellite assembly. Reason is which can be shared easily and only the application can see and use it. But I am not sure about it's short comings. Need feedback from those who has prior…
Fid
  • 144
  • 2
  • 8
1 2 3 4 5 6
7