Reputation: 21
I am trying to build an multilanguage application in asp.net MVC with the support to update the resource file online. I found lot of resources for asp.net web forms but could not find any example for MVC. Could any one tell me how can I do this. Thanks in advance.
Upvotes: 2
Views: 4118
Reputation: 6675
I use resource files with access modifier set to "public", so resources can be accessed from everewhere (controllers, views) by static properties:
<%= GlobalTexts.HelloWorld %>
For editing resx file I use Zeta resource editor.
Upvotes: 4