After you Custom personalization criteria: Reference the required assemblies, you create the localizable resources. Every module can have a list of localizable resources. In Sitefinity CMS, you wrap the resources in a class that inherits the Resource base class.
To create the resources class for the custom personalization:
CustomPersonalizationResources : Resource
(CustomPersonalizationResources), Title =
, Description =
"The day of the week that will apply for this criterion."
"Error message when user enters invalid day."
"The day of the week after Sunday but before Tuesday."
"The day of the week after Monday but before Wednesday."
"The day of the week after Tuesday but before Thursday."
"The day of the week after Wednesday but before Friday."
"The day of the week after Thursday but before Saturday."
"The day of the week after Friday but before Sunday."
"The day of the week after Saturday but before Monday."
Using the code above, you create localizable resource entries, which will be used as field and title values in a later step of this tutorial.
Back To Top