I have a situation where I want to give specific style to my Navigation Menu when the website is in German language.
My website works well in English language but when I switch to German, it causes a css problem.
So how do I determine which language is currently active with qTranslate plugin?
You can use the
qtrans_getLanguage()
function.return the current language. See this link for an example
I have found a possible solution:
This works well for my menu items being not looking wired.