Project and Portfolio Management Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the session language?

SOLVED
Go to solution
Highlighted
weis_ch
Acclaimed Contributor

How to get the session language?

Hi,

 

Is there a possibility to get the session language of a logged-in user? A token? A table in the database?

 

Thank you very much.

3 REPLIES
Oscar_Pereira
Frequent Visitor
Solution

Re: How to get the session language?

Hello,

 

This query will give you the language info... for a specific user.

 

You can check logged users in a Report from Workbench

 

select region_code, language_code, region_format_code, language_format_code from knta_user_regional_settings where user_id in (select user_id from knta_users where username='username');

 

Thanks

Oscar Pereira

weis_ch
Acclaimed Contributor

Re: How to get the session language?

Hi Oscar,

 

That's exactly what I need. Thanks a lot.

Oscar_Pereira
Frequent Visitor

Re: How to get the session language?

Cool.  Please set this Thread as resolved     : )

//Add this to "OnDomLoad" event