Retrieve language of a specific node (different from the root node)
I've set the language on some specific nodes (i.e. changed from "inherit" to a specific language). These pages are in a language different from the domain language set on the root of the site. The pages in the different languages are not in a different subtree. How can I retrieve the language of these specific nodes?
Thanks for your reply, but actually I'm looking for the language as set on the node, as seen in the screenshot. I'm looping through a list of nodes, which are in different languages. This may be different from the culture of the current page or the current domain.
Retrieve language of a specific node (different from the root node)
I've set the language on some specific nodes (i.e. changed from "inherit" to a specific language). These pages are in a language different from the domain language set on the root of the site. The pages in the different languages are not in a different subtree. How can I retrieve the language of these specific nodes?
You can mek use of this
var currentLanguage = CultureInfo.CurrentUICulture.TwoLetterISOLanguageName.ToLower(); @currentLanguage }
Sorry replying from mobile device
Thanks for your reply, but actually I'm looking for the language as set on the node, as seen in the screenshot. I'm looping through a list of nodes, which are in different languages. This may be different from the culture of the current page or the current domain.
is working on a reply...