Skip to main content
Translate strings from resource ID to translated value using the DCF globalization utility.

Config

The Resource Manager handles reading the resource strings from various sources. The sources are specified in the config file:
This specifies that the ResourceManager should first load the 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 ID SR_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: