turquoiseowl / i18n

Smart internationalization for ASP.NET
Other
556 stars 156 forks source link

Added query to translated index page cause 404 exception #383

Open tomasr78 opened 5 years ago

tomasr78 commented 5 years ago

I add i18n to MVC and set one locale file PT (Portuguese), the problem which I find is that if query parameter is set to index page it cause 404 error.

Let's say

http://localhost:9001/pt works fine and opens Index web page in Portuguese, if query added http://localhost:9001/pt?a=1 the page do not works anymore and generates 404.

Any idea why and how to solve this?

This happens only on Index page, the http://localhost:9001/pt/my-non-index-page?a=1 works fine even with query.

Using latest 2.1.14 NuGet release.

tomasr78 commented 5 years ago

Does silence means that this is know issue and no solution yet or that no one read this yet and I should be more patient.

turquoiseowl commented 5 years ago

Thanks for reporting this. I've just made some changes that hopefully fixes this. Please try new release: 2.1.15-pre000

tomasr78 commented 5 years ago

Thank you. When are you planning to release NuGet package?

turquoiseowl commented 5 years ago

I was thinking of leaving it as a pre-release package until other future changes can be rolled up. Saves a bit of effort at my end.

Can you work with the pre-release Nuget package?

tomasr78 commented 4 years ago

I have tried the pre-release version and it still doesn't solve the problem with query parameters in the index page - 404 error.

vhatuncev commented 3 years ago

@tomasr78 can you please provide your routing configuration here? I suspect you have issues there, not in i18n.