开发者

sitemap localization not working

开发者 https://www.devze.com 2023-01-26 00:07 出处:网络
Strange things happening. If I have only one file filename.en-US.resx file in App_GlobalResour开发者_如何学JAVAces. Sitemap(Which is referring as \"$resources:Web.sitemap,key\") is throwing error that

Strange things happening. If I have only one file filename.en-US.resx file in App_GlobalResour开发者_如何学JAVAces. Sitemap(Which is referring as "$resources:Web.sitemap,key") is throwing error that object or key couldnt find. But when i have two files filename.en-US.resx and filename.resx[this has no keys it is empty], sitemap is working fine. Please need some explanation.


I think you need to have a filename.resx that acts as the normal (invariant) resource before adding culture/language specific resource files.

0

精彩评论

暂无评论...
验证码 换一张
取 消