Thread:Project:Support desk/How to get the selected language (2)

(Excuse me, I tried to find some answers to this question, but in doing research (and for last 18 hours) gives the answer "HTTP request timed out.")

Template:UILANGCODE returns the current language code selected by user. How can I implement a similar template my wiki (that uses Extension:UniversalLanguageSelector).

I copied Template:UILANGCODE with this code:

and Template:LangX with this code:  and always returns ""

Is there a similar function, variable or template to use it in normal pages or templates?.

Very thanks