How can I acquire the CultureInfo
of a request in a View?
CultureInfo.CurrentCulture
will return the culture for the thread currently processing the request. This is also accessible through System.Threading.Thread.CurrentCulture
. Are you having a specific issue?
you can get CultureInfo by System.Threading.Thread.CurrentThread.CurrentCulture
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With