Hello @Lauris ,
We apologize deeply for the delay in response.
If you're using ASP.NET 4.6, please try this in your web.config
:
<configuration>
<system.web>
<globalization uiCulture="lv" culture="lv-LV" />
</system.web>
</configuration>
or a second option would be to specify a handler in the Global.asax
file which would set the Culture and UI Culture for each request:
protected void Application_BeginRequest()
{
Thread.CurrentThread.CurrentCulture = new CultureInfo("lv");
Thread.CurrentThread.CurrentUICulture = new CultureInfo("lv");
}
If your app is running on ASP.NET 5 please read this documentation.
Hope that helps. Please let us know if you have further questions.
Thanks,
Grace