Yep - same here. In fact, it's a must, for converting our website.
So, lets try and nut this out.
Here is the asp.net official quickstart tutorial for localization: http://quickstarts.asp.net/QuickStartv20/aspnet/doc/localization/default.aspx
Supposedly, ScottGu says that localization should work Out Of the Box with the current release of the ASP.NET MVC
scotty:
So lets try a traditional way ... :-
a) Create a view -> \Views\Index.aspx
b) Create a resource folder and files:-
\Views\App_LocalResources\Index.aspx.resx <-- default or culture neutral
\Views\App_LocalResources\Index.aspx.fr.resx <-- French
\Views\App_LocalResources\Index.aspx.de.resx <-- german
c) wireup some text / html to be 'localized' :-
<asp:Literal runat="server" text="<%$ Resources:SomeKeyInTheResourceFile %>" />
.. and that works :)
To test this out, you can make the page AUTO DETECT the browser 'language' setting, and then play around with the browsers language list preferences.
That said, i was hoping to do this without the use of an asp:control ... like..
<span><%$ Resources:SomeKeyInTheResourceFile %></span> <-- insert localized content.
... but that doesn't work .. and i have no idea how to do it without an asp.control :(