turquoiseowl / i18n

Smart internationalization for ASP.NET

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Added query to translated index page cause 404 exception

tomasr78 opened this issue · comments

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.

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.

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

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

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?

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

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