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
1
vote
1 answer

C# Satellite Assemblies? Do I need to link default culture resource

We would like to employ satellite assemblies to contain various locale dependent resource files. Question is ... do we need to link the default culture? We have a separate project which will contain all of our different culture resource files. As…
Helios
  • 421
  • 1
  • 7
  • 12
1
vote
1 answer

Removing the default language in an assembly and moving it to a satellite assembly

I have a .Net 3.5 application written mostly in C# that uses .resx files to store internationalization data for several different languages, consisting of strings, control sizes and positions, etc. What I'm trying to figure out is this: it is…
1
vote
1 answer

How to add my own culture resources to tfs web access

How can i add my own culture to Team Foundation Server web application, in order to use my language for web access UI? (adding my language to Language combobox in Profile Locale Settings.) I tried to modify Deutsch Language by changing the…
Mohy66
  • 390
  • 2
  • 12
1
vote
1 answer

Can you static link satellite assemblies?

I don't know enough about satelite assemblies to understand their construction, I'm curious if it's possible to statically link them all into a single dll and get the same functionality as if they weren't statically linked…
Jimmy Hoffa
  • 5,909
  • 30
  • 53
1
vote
1 answer

How can I use satellite assemblies in ASP.NET?

I love the idea of breaking out culture-specific resources into separate assemblies, but am confused as to how this can be done for an ASP.NET application. Can someone give me a quick rundown, or perhaps point to a tutorial on the subject?
stackuser1
  • 213
  • 2
  • 6
  • 18
1
vote
1 answer

Load satellite assemblies from memory

Must satellite assemblies be present on disk in appropriately named sub-folders. Can they be loaded from memory, for example, via the AppDomain.AssemblyResolve event? I know assemblies can be loaded from memory, but will .Net use the AssemblyResolve…
logicnp
  • 5,796
  • 1
  • 28
  • 32
1
vote
1 answer

Why is VS2013 not generating satellite assemblies?

While the rest of my team is using VS2012, I'm the first member of my team to switch over to VS2013. One of the first major differences I've noticed is that for the same project/solution, VS2012 is generating satellite assemblies for my RESX…
CMerat
  • 4,398
  • 25
  • 28
1
vote
1 answer

how to put language resources in a separate project to generate satellite assemblies

I've been using http://www.codeproject.com/Articles/30035/Simple-WPF-Localization project to localize an app because (well) it's simple and straight-forward and supports dynamic language change. I put all the language resources in the main project…
mickeymicks
  • 637
  • 8
  • 13
1
vote
1 answer

How to translate satellite assemblies without recompilation?

I am working on an enterprise application that supports multiple languages using satellite assemblies, and we want to provide the customer with the ability to add new languages after deployment. Is there away to force the application to generate…
Ahmad Al Sayyed
  • 596
  • 5
  • 13
1
vote
1 answer

Customizing resources after deployment

I am trying to develop a utility that will allow customization of strings after our product is deployed. Satellite assemblies seem to be a good way to go here. I have plenty of experience with using Microsoft.VisualBasic.VBCodeProvider and…
BlueMonkMN
  • 25,079
  • 9
  • 80
  • 146
1
vote
1 answer

Loading WPF satellite resources dynamically

I've read about satellite-assemblies being used in WPF localizations. However, I would like to ask if there is a way to load the satellite-assemblies without following the pre-defined directory structure that depends on the language (ex. If the…
1
vote
2 answers

Read values from satellite assemblies using ResourceManager

Hi Can somebody tell me how to read values from satellite assemblies using resourcemanager. I have an application MyApplication which will contain all the resource files. Now I have to read the values of these resources in my another application…
Punit
  • 1,347
  • 3
  • 20
  • 39
1
vote
2 answers

How to get location of current culture's satellite assembly?

My C#/WF application uses some files, which are different for different languages. These file can not be placed as resources in satellite assemblies. I wish however to put them in the same directories as the satellite assemblies reside, but I need…
Spook
  • 25,318
  • 18
  • 90
  • 167
1
vote
1 answer

MVC 2 - Are Sattelite assemblies required for embedded resources? Embedded resources not working

Hello I have been working on an MVC 2.0 web application. This has the requirement to switch between 2 languages. The existing solution did not work well as the MVC [DisplayName] attributes and data annotation error messages etc did not work as they…
1
vote
0 answers

MonoDroid: Satellite assemblies not part of application package

I'm using MonoDroid to build Android app based on common code shared between WPF/Silverlight/MonoTouch. Strings in that common code are "localized" via RESX -> satellite assemblies. RESX designer is generated via ResXFileCodeGeneratorEx which is the…
Patrick
  • 119
  • 10