Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Daniel_G
Partner - Creator
Partner - Creator

Read language parameter in Qlik app

Hello together,

 Is it possible to read the language parameter from URL and store it in variable or just to read the whole url?

I want to get the language parameter which I can pass through the url in order to change language of my app. Otherwise only the language of the client will be changed.

https://community.qlik.com/t5/Knowledge/How-to-change-language-in-Qlik-Sense-Hub-using-the-URL/ta-p/...

I already found posts like:

- https://community.qlik.com/t5/Knowledge/How-to-change-language-in-Qlik-Sense-Hub-using-the-URL/tac...

- https://community.qlik.com/t5/QlikView-App-Dev/passing-parameters-in-url/td-p/683063

but it didn't help.

Best regards

Daniel

Labels (5)
4 Replies
Digvijay_Singh

if you are trying to extract the language parameter in the script or qlik expression, I think subfield function can help, something like this may be - 

subfield('https://server/hub/my/work/language/it','/',-1)

Daniel_G
Partner - Creator
Partner - Creator
Author

Thanks for fast reply. In order to use this function I also need to read the url. How do I get the url?

Digvijay_Singh

Never done that, don't see anything in the community as well, but I see this post from @Gysbert_Wassenaar ,

looks like not possible to fetch language from the URL, kinda weird that we cannot fetch the URL 

https://community.qlik.com/t5/New-to-Qlik-Sense/Get-language-code/td-p/1517358

May be other experts will help on this..

 

Daniel_G
Partner - Creator
Partner - Creator
Author

Thanks for your fast reply. Those are bad news 😞