turquoiseowl / i18n

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

wrong redirection when there is `app` in url #298

Closed pashaie closed 7 years ago

pashaie commented 7 years ago

We have an app folder in our project that contains an angularjs application. When using i18n, urls that start with app (which is all our code base minus vendor libraries) redirect to wrong url.

For example /app/main.js is redirected to /en/main.js instead of /en/app/main.js As far as I can see, app is somehow a keyword, if we change app to something else, e.g. appx, it works just fine.

thanks in advance.

turquoiseowl commented 7 years ago

Yes, 'app' is being interpreted as a language tag. Please see #289 for explanation and how to resolve.

pashaie commented 7 years ago

thanks