How should I implement localization with ASP.NET MVC routes?

前端 未结 2 722
北荒
北荒 2021-01-14 04:29

I\'m trying to plan for future (months away) localization of a new ASP.NET MVC site.

Trying to decide what makes most sense to do, as far as constructing the URLs an

2条回答
  •  无人共我
    2021-01-14 05:08

    I would use a different URL scheme like so :

    en.mysite.com (English)
    mysite.com (default language)
    ro.mysite.com (Romanian)
    

    etc.

    Then I would create a custom route like in this answer.

提交回复
热议问题