You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 !
The text was updated successfully, but these errors were encountered:
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 :
@Html.ActionLink("My link", "List", "Bsi")
generates the following URLhttp://localhost:59051/Bsi/List
instead ofhttp://localhost:59051/fr/Bsi/List
.Thanks for your time !
The text was updated successfully, but these errors were encountered: