-
Notifications
You must be signed in to change notification settings - Fork 154
Description
Hi there,
First of all, thanks for the work you do, this plugin is really nice, however I just stumbled upon a crispy little problem.
I didn't check how you include the locale into the links but it seems you use regular expressions. The problem is: If you name one of your Controller AbcController (or anything that has 3 letters or less before "Controller"), the generated URL for this controller does not have the locale in it.
Example :
I have a controller named BsiController with an action, let's say List(). When I want to generate a link to this action using @Html.ActionLink, the resulting link does not include the locale:
@Html.ActionLink("My link", "List", "Bsi")
generates the following URL http://localhost:59051/Bsi/List
instead of http://localhost:59051/fr/Bsi/List
.
Thanks for your time !