Base solution for your next web application
Open Closed

DataAttributes DTO Validation problem #6809


User avatar
0
p.j.keukens created

Hi,

When DataAttributes on a DTO are validated the error messages are sent back to the client and shown in a sweetalert. But there is no localization file for my default language Dutch . I can see that the localization files are in aspnetboilerplate/src/Abp.Web.Common/Web/Localization/AbpWebXmlSource/ and that dutch is not there. How can I add my language file to the list? I tried adding them to the xml localization file in my project but that didn't work. So how do I get them in my language? Do I have to include the Abp.Web.Common project in my solution and then add the file and change all the references to the project or is it possible to override it somehow?

cheers Patrick


1 Answer(s)
  • User Avatar
    0
    aaron created
    Support Team

    Extending localization sources in your project: https://aspnetboilerplate.com/Pages/Documents/Localization#extending-localization-sources

    You are also welcome to contribute to ASP<span></span>.NET Boilerplate: https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/contributing.md#resource-localization