Download SataGen file now! (Right click to download - Save target as...).
Satellite Assemblies Creation
The "Sata Generation" tab permits to create a single satellite assembly or a set of satellite assemblies.- Browse the file system to select the main assembly, the one that is localized. Note that SataGen uses the main assembly version's as the default version of satellites.
- Change the satellite version to match any version you wish. Note however that if the satellites version does not match the main assembly's, you MUST ensure that a redirection policy is provided or a satellite contract is used in the main assembly in order to force the loading of your satellites by the .Net framework. In effect, the .Net Resource Manager uses the main assembly version or the Satellite Contract Version Attribute to locate satellite assemblies.
- Check on the "Sign Assembly" to sign the satellite assembly(ies).
- Browse the file system for the key file.
- Browse the file system to select the resource file to embed. Note that this must be a binary resource file RESOURCES extension. This option is only available when the "For All Directory Resource Files" is off.
- Check on "For All Directory Resource Files" in order to generate a set of satellites based on a set of resource files. For this to work the resource files in the target directory MUST matchthe following naming convention:
<BaseName>.<culture>.resources, where BaseName is any valid file name characters and culture corresponding to the target culture. Converting resource files
The 'Resource conversion' tab helps to convert resource files from TXT and RESX formats to RESOURCES format.- Browse the file system to select the resource file to convert. The tool automatically detects the file format.
- Set the target format
- Enter the resource file base name.
- Check on the "All Directory Content" if you wish to convert a set of files. In this case the resource files to be converted must match the following naming convention:
<BaseName>_<culture>.txt or <BaseName>.<culture>.resx, where BaseName is any valid file name characters and culture the target culture. Snooping through satellites
For testing or any other purposes, the tool allows reading the content of a properly deployed satellite. Move to the 'Satellite snooper' tab to do this.- Browse the file system to select the main assembly.
- Specify the culture for which you want to extract the resources.
- Specify the resource base name, the resource file in which the resource is located.
- Click 'Show resource to view the content of the resource file.