Last post Jan 12, 2007 10:23 AM by aivanoff
Jan 03, 2007 01:27 PM|aivanoff|LINK
I am designing a multilingual websites with ASP.NET 2.0 and thinking about using culture info in url the way msdn does:
http://msdn.microsoft.com/EN-US/default.aspx. I would use http module to remove this info from url to construct CultureInfo
and assign it to a current thread.
So far so good. But here goes my problem: how do I localize all paths, hyperlinks etc in my application without affecting the code. There is HttpResponse.ApplyAppPathModifier which adds a session
id for cookieless session, but no mechanism to do custom app path modifications, or is there?
And more general question: is it a good design to use culture info in url?
Jan 12, 2007 02:59 AM|Zhao Ji Ma - MSFT|LINK
The defult language will be sent by your browser and the CultureInfo for the current thread will be set automatically. If you would like to explicit using another CultrueInfo, you can overwrite the current cultrue
by resetting a new culture.
hope it helps!
Jan 12, 2007 10:23 AM|aivanoff|LINK