2
votes

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.

1
There is a similar question: stackoverflow.com/questions/192465/… - liggett78
Is this really possible? Since MVC is WAP, aren't resources necessarily satellite assemblies and not .resx files? - bzlm

1 Answers

4
votes

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.