If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Retrieve user locale

Started by nayitian, 27 Jan 2012 02:07:58 PM

Previous topic - Next topic

nayitian

Hi

I am trying so hard to add a query item, which can retrieve user's locale information(en, fr...), it's going to be used as an individual reporting column. Can any one shed some lights on how to do it, or if it's even possible to do.

Thank you.

Grim

"Honorary Master of IBM Links"- MFGF
Certified IBM C8 & C10 Admin, Gamer, Geek and all around nice guy.
<-Applaud if my rant helped! 8)

nayitian

Hi Grim

Thank you for such quick help.
However, it won't work. In FM model, I can run the Macro the retrieve user locale, but I cannot use it as a query item.

blom0344

You can use the the locale within case expressions to translate codes to multilingual output:

Use the syntax:

# sq( $runLocale)#

Example:

case when
(# sq( $runLocale)# = 'en') then 'bubblegum'
else 'liquorice'
end

nayitian

#4
Awsome!  Thank you soooo much. You literally saved my life.