Config
The Resource Manager handles reading the resource strings from various sources. The sources are specified in the config file:FieldLabel provider, which reads from the database.
Next, the resource DLL SuperOffice.Web.Globalization is loaded using the ResourceDllProvider, and the strings in the bundle SuperOffice.Web.Globalization.ResourceStrings are read in.
Finally, the XML text file TestXmlResources.resx is loaded using the ResXml file provider.
Resx file
Translate
Assuming the resource file contains a string IDSR_FOOBAR, then the program can get the translated value using:
The resource manager also handles resource names that are decorated with square brackets for you. This is the same as the above: