View Complete Post
I have an MVC 2.0 application which currently has 3 different languages.(English, French, Spanish).Although I've found many articles on how to localize an etnire MVC application I still haven't found an example on how to localize the URLs.
Assuming I have the following English URL:http://www.mywebsite.com/Product
When I switch in either French or Spanish, I'd like to have the following:French: http://www.mywebsite.com/ProduitSpanish: http://www.mywebsite.com/Producto
How does one achieve such a task?If anyone cares to show me a link or demo, that would be great!
Thanks in advance!
I have a class library called WEM.portal which used Resource files to localise text in my composite controls.
I store my resource files (eg MyResourceFile1.resx) in App_GlobalResources folder and then refer to them using
MyLabel1.text = My.Resources.MyResourceFile1.MyResourceKey1
This is all working ok until I create seperate files for each language such as MyResourceFile1.FR-fr.resx.
I have implemented this throughout my other web applications but the Class Library doesnt seem to want to work the same way
When I load the page it correctly showes the resourced keys which I have done through the web application BUT the resource keys in the composite controls does not seem to pick up the culture code.
Am I missing something stupid. Ive tried
I want to make my website into world's different laguages.Im very new to it .
I ever thought that I can set a default localization if the users one (which is set in the browser) isn't available.
I've implemented my localresource files for localization. The start.aspx.resx contains all texts and elements for German use and the start.aspx.en.resx for English users. When I switch the language in the browser settings from German to English everything works fine and the english text is displayed. But when I switch to an other language which is not German or English, it takes defaulty the german resource files.
as well, but it didn't assume the .en resource file automatically. (For example when I enter the website and switch the browser language to French or Italian it should take the english resource files.)
Thanks and regards,Chris
How to maintaine a web application in different languages.
For Examplel(English, Chinees,German...)
Need any Detailed Example.
In this installment of Advanced Basics Ted Pattison discusses the localization of Web sites in ASP.NET 2.0.
MSDN Magazine August 2006
There are two ways you can utilize resources such as strings, images, and text-based files from your MicrosoftÃÂ® . NET Framework-based application. You can embed them directly in the app or you can load them from an external file.
MSDN Magazine May 2006
While Windows Forms in .NET has lots of cool features, if you're used to MFC, there are a couple of things you'll find missing, like doc/view, command routing, and UI update. The .NET answer to this is a code generator that writes new code for every single element. But there's a better way. In this article, Paul DiLascia shows how to develop an XML-based GUI language parser for .NET that lets you code resources, menus, toolbars, and status bars in XML instead of with procedural code. He also shows how a user interface based on XML can easily be localized using standard .NET techniques, and introduces his very own library, MotLib.NET, with lots of GUI goodies for your programming pleasure.
MSDN Magazine November 2002
I understand I need to place all the translated strings in .RESX files. How do I work with translators??? I do not think they will be able to open RESX files? Please advise your existing method of working with them. They mostly know Word... :)