Try our conversational search powered by Generative AI!

Overriding IContentData property help text localization for abstract non content type base class

Vote:
 

We're having some issues related to a NuGet package defining localization roughly as follows:


  
    
      
        
          
            <caption>Rubrik</caption>
            <help>Sidans rubrik.</help>
          
          ...

In our own project we define a couple of base classes, with their own localization, such as the following:

public abstract class BasePage : PageData
{
    public virtual string Title { get; set; }
    ...
}

  
    
      
        
          
            <caption>XYZ</caption>
            <help>123</help>
          
          ...

What happens is that caption, for pages that inherit from BasePage, will be "XYZ", but the help text is "Sidans rubrik." (from localization of IContentData). Is this a bug? If not, how can we solve the issue?

[Pasting files is not allowed][Pasting files is not allowed]

#190225
Apr 05, 2018 11:41
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.