ASP.NET MVC 3 localization: Resources for data annotations

10,544

I found the resources. They are in the full language pack of the .NET Framework 4 which has to be installed.

Share:
10,544
slfan
Author by

slfan

Dipl. Ing. ETH Zürich (Switzerland) / dipl. Wirtschaftsing. STV MCPD Web / Windows .NET 4.0 / Silverlight + Azure / MCSD Web .NET 4.5 / Xamarin Mobile Developer Microsoft Certified Trainer since 2005 Software Developer and Architect C#, ASP.NET/MVC, .NET Core, WPF, Services, WCF, Entity Framework, Azure, Xamarin

Updated on June 04, 2022

Comments

  • slfan
    slfan almost 2 years

    We use ASP.NET MVC 3 and Entity Framework 4 and annotate our entities with attributes like [Required]. The validation works correct and an error message "The xxx field is required" is displayed. We try to localize our application. I used the Web Platform Installer and installed the ASP.NET MVC 3 Tools Update Language Packs Installer and also installed the AspNetMVC3ToolsUpdateSetup_DEU.exe from the Microsoft Download page. But I still don't get german error messags. The rest of the application localizes properly.