Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

PageTypeProperty DefautValue for different languages

Vote:
 

Hi,

anyone know how/if it's possible to have different default values of the PageTypeProperty-attribute for different languages.

Think like:

[PageTypeProperty(
   SortOrder = 20,
   DefaultValue = (lang=="es"?"Hola":"Hello"),
   DefaultValueType = DefaultValueType.Value)]
public virtual bool? SomeProperty{
#118671
Mar 11, 2015 14:44
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.