I made a project at home on a local machine; all validation messages work, and they are in Russian. Laid out on the hosting, they all became English text. How to fix it. This is registered in a config

<system.web> <globalization culture="ru-RU" uiCulture="ru" /> 

I have VDS hosting, so I can change the settings on the server. I read on the forums that they offered on the server side to put Russian ASP.NET MVC, but I think this is not the best solution. I'm also not sure that it will be installed in English at all.

You can, of course, write a message about the error in Russian to each validation attribute, but you will have to prescribe a lot of where. I can do it this way too, but this is already normal if it doesn't work out.

UPDATED: So I understand that these messages are sewn in the attributes themselves. And if the English version is installed, then they are English. Is it possible to russify them? If not, then I will try to install Russian ASP.NET MVC on IIS. And here is the question. If Windows itself is English, then even there was no such possibility to install Russian IIS or ASP.NET, is this even possible?

    1 answer 1

    Found a solution.

    Since the validation strings are hard coded in the .NET Framework, You need to install the .NET Framework 4.6.1 Russian Language Pack. I had to install Windows Server 2012 Russian Language Pack first in order to install it in English.

    That is, these two installations have solved the problem.