Hi everyone,
This should be quite easy.
Need to know what is the way of getting the Language that website is currently using.
Thought it was in here:
Dynamicweb.Frontend.PageView.Current().Area.
But appearently it was not.
Tons of suggestions how to get langiage in eCommerce, but if I need to know the language of NOT eCommerce, but just the website that currently is visiting.
In global tags, noticed this: http://screencast.com/t/HcmOunVZTUU
Would love to use it, but things like:
GetGlobalValue("Lang").ToString(); //(in front-end)
does not seem to work either.
Idealy I would like to get it through PageView object, if possible, so that I could also use it in the API when needed.
/Dmitrij