I localized my sitemap with the instructions provided here. The same way it is recommended in this post. In my local enviroment it works perfectly. However, when I deploy my app to Azure, the resource file cannot be found. I know that the resources files inside the App_GlobalResources folder are not included in the project.dll, but I don't know how to localize my sitemap without using the resource files inside that folder. Do someone experienced the same problem and has a solution?
Asked
Active
Viewed 116 times
1 Answers
0
Unfortunately, Visual Studio doesn't setup the default settings on App_GlobalResources
to deploy them with MVC.
Options
- Implement
IStringLocalizer
yourself in order to provide localization from within your project or another assembly. - Implement your own ASP.NET 2.0 resource provider. See examples here and here.

Community
- 1
- 1

NightOwl888
- 55,572
- 24
- 139
- 212