I have created a custom Sitecore field from Sitecore.Shell.Applications.ContentEditor.NameLookupValue
.
But even after changing the language of the item where the custom field is added, context language, as well as the item language, is always coming as en
.
So I am not able to get the value of the item field in other languages. Sitecore.Context.ContentDatabase.GetItem(this.ItemID)
is always giving values of en
language
I have tried with httpcontext.current.request["sclanguage"]
. But it is always giving the previous language.