turquoiseowl / i18n

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

How language changing while editing in url ? #263

Closed codebuger closed 8 years ago

codebuger commented 8 years ago

I need to check the messages.po file when each time language changes. Is there any method in i18n plugin firing while changing language in url or any possible way to call a method when language changed in url ?

turquoiseowl commented 8 years ago

Short answer is no. That sounds like something you would handle directly in ASP.NET.

Remember, web apps handle one request at a time, so it doesn't really make sense to talk about changes in the URL, other than where you maintain state between requests and that would depend on how you maintain that state.