Get Language Variable

Hi,

I am trying to pull the language currently being used by the site user.  For example:  I need to know if a user has set the site for English, Russian, or Spanish.

I'm thinking there should be a way to "get" this - sort of like using getNickName($ID); to get the users Nik.

Any help would be appreciated.

 

Thanks,

 

Paul

Quote · 5 Jan 2011

Yes. The function is getCurrentLangName()

https://www.deanbassett.com
Quote · 5 Jan 2011

Thank you Deano - you're awesome!

Quote · 5 Jan 2011

I need to get it at front, what is the "smarty" variable for current language?

Thanks!

Quote · 7 Jun 2013

You will need to explain a bit more on where and when you need to obtain the name of the language.

"Smarty" as you stated i associate with the smarty template system which is not used by dolphin. Dolphin has it's own template system.

https://www.deanbassett.com
Quote · 7 Jun 2013

Hi! Im looking for the same "variable", how to get it at front/template?

Thanks!

Quote · 5 Jul 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.