Hi all,

I upgrading from 3.7 -> 3.8 and ran into a problem with some code in header.chtml.

@if (workContext.WorkingLanguage.UniqueSeoCode == "en")
   {
   }

Anybody know how we get the UniqueSeoCode in 3.8?

Found soultion:

var workContext = EngineContext.Current.Resolve<Nop.Core.IWorkContext>();
@if (workContext.WorkingLanguage.UniqueSeoCode == "en")
   {
     ...
  }