2

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.

user218370
  • 21
  • 1
  • 2
  • There is a similar question: http://stackoverflow.com/questions/192465/how-to-localize-asp-net-mvc-application – liggett78 Nov 25 '09 at 07:34
  • Is this really possible? Since MVC is WAP, aren't resources necessarily satellite assemblies and not .resx files? – bzlm Nov 30 '09 at 08:20

1 Answers1

4

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.

PanJanek
  • 6,593
  • 2
  • 34
  • 41