Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
string langCode = LanguageContext.Current.CurrentLanguageBranch;
You may also override InitializeData that will be called for every language that you property lives on.
public override void InitializeData(ApplicationConfiguration config,PropertyDataCollection prop)
{
bool isLangSpecific = base.IsLanguageSpecific;
string langBranch = prop["PageLanguageBranch"]!=null ? (String)prop["PageLanguageBranch"].Value : null;
base.InitializeData();
}