Open Closed

XML localization in DataAnnotations #42

cosmic created

Hi, is it possible to use ABP XML localization source in DataAnnotations?

For example, with the Resource file it works:

[Display(ResourceType = typeof(MyResource), Name = "Password")]
public string Password { get; set; }

But, is it possible to do with the XML file localization source defined in the ABP module as a DictionaryBasedLocalizationSource?

1 Answer(s)
  • 0
    hikalkan created
    Support Team

    No. But you can use Resource files with ABP: <a class="postlink" href=""> ... eResources</a>