开发者

App_GlobalResources not detected on production server

I have a asp.net web application project, with some global resources. If i deploy to my dev machine, the resources are used correctly, however in the production server the text appears in the default language so the global resources are not being read.

Any ideas? (i copied the App_GlobalResources directory to the production web di开发者_JS百科r root)


Dear Hugo, App_GlobalResources contains globalresources which inherit from currentculture so if you have 1 - 2 or more languages you have to create a different global resources for each of them. for example

CommonResource.en-US.resx

CommonResource.fa-IR.resx

CommonResource.-----.resx
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜