Hi together,
I currently started to explore the benefits of asp.net mvc.
It look till now very good, but one question I still have open at the moment.
How can I solve the problem of Urls in diffrent languages? For example:
home/myAction/1 (this works)
homeOtherLanguage/myActionOtherLanguage/1 (is this possible that an url will be parsed and routed to the right controller and action?)
StuByZurich
Member
40 Points
21 Posts
Url in different languages
May 02, 2012 07:13 PM|LINK
Hi together,
I currently started to explore the benefits of asp.net mvc.
It look till now very good, but one question I still have open at the moment.
How can I solve the problem of Urls in diffrent languages?
For example:
home/myAction/1 (this works)
homeOtherLanguage/myActionOtherLanguage/1 (is this possible that an url will be parsed and routed to the right controller and action?)
I hope I could explain, what I mean :-)
Thanks for every answer.
Oliver
ignatandrei
All-Star
134947 Points
21626 Posts
Moderator
MVP
Re: Url in different languages
May 02, 2012 07:32 PM|LINK
yes. Either by routes, either by a filter, either by
http://haacked.com/archive/2010/02/21/manipulating-action-method-parameters.aspx
StuByZurich
Member
40 Points
21 Posts
Re: Url in different languages
May 02, 2012 09:13 PM|LINK
thanks for your answer.
it seems that it could be a solution. I will try it with your suggestion.
Thank you and regards,
Oliver