Open JobaDiniz opened 8 years ago
Thanks for reporting this issue.
I dug into the RouteJS library - the problem is how RouteJS and RouteLocalization works internally. I will change the implementation from one LocalizationCollectionRoute
per action to multiple MVC standard routes per translation (I'll have to do this anyway for MVC6 / ASP.NET Core) - this should then be compatible with RouteJS.
RouteJS provides a way to generate mvc routes from javascript:
I tried the following:
var url = Router.action('DataSouce', 'Create', { culture: 'en-us' });
However,
culture
parameter doesn't do anything. The resultedurl
is:/fonte-dados/Novo?culture=en-us
(Portuguese)