I have two .resx files for localization - Global.en.resx and Global.resx(ru). Trying to get the value by name using ResourceManager I face a problem: the value displays only on Russian.
ResourceManager rm = new ResourceManager(resourceType.FullName, resourceType.Assembly);
ResourceSet rs = rm.GetResourceSet(CultureInfo.CurrentCulture, true, true);
foreach (DictionaryEntry d in rs)
{
if (d.Key.ToString() == propName) displayName = (string)d.Value;
}
resourceType - resources class, propName - the name of property I want to display. Please, help me