ASP.NET – MVC 3: Localization

Then I found a post that warned about
using the App_GlobalResouces and
App_LocalResources. (Link)

I found that post extremely useful. The method explained there is very clean. Here is a snippet of my newly created index view using that method:

@using Resources.Index
@{
    ViewBag.Title = "Index";
}

<h1>@Index.Title</h1>

I don’t think there is a definitive do-it-this-way-or-else method, so going for the cleanest method seems to me like a good deal.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)