我有两个带有资源键的 resx 文件及其值 如何访问该 resx 文件的值以便我可以更改语言
string resourceFile = "~/App_LocalResources/site.Master.Germany.resx";
string filePath = System.AppDomain.CurrentDomain.BaseDirectory.ToString();
ResourceManager resourceManager =
ResourceManager.CreateFileBasedResourceManager(resourceFile,filePath,null);
string resourceValue = resourceManager.GetString(resourceFile);