Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
ive been looking for a way for the dashboard to lookup the browser's locale. what i am finding are articles how to translate test from one language to another.
even if you have a way to translate words into another language, how will the dashboard knwo which language to translate to? does the user have to select a language? shouldnt it be automatic by looking up the user or browser locale?
has anyone encountered this before?
thanks,
edwin
Hi Edwin, there is no way to dynamically use the browser setting to translate app data.
You can have a language selector, through a field or a variable. I've also used section access on a dashboard getting the language selection from some other application the same users have access to.
hi thanks for the response. i do get that. and thats trivial to test. Qlik Sense changes all menu items to the browser language. however, how will your DASHBOARD know what language it is? if all your data is in English (or one language) and you have a translation table for all other Dashboard - supported language. you need to know what language to translate to. the question is what language is that and how do to save that to a variable (i suppose thats how i would implement it).
so back to the original question: how will the dashboard know what the browser language is? not how will Qlik Sense know.
there is a variable for locale, however this is not dynamic this is set to the default of the server. to demonstrate, ive set my language to French, and created a new dashboard:
Hi Edwin, there is no way to dynamically use the browser setting to translate app data.
You can have a language selector, through a field or a variable. I've also used section access on a dashboard getting the language selection from some other application the same users have access to.
HI, this was what we feared as we cant find any post related to what we were looking for. we were hoping something this simple can b made available.
as we needed to move fast weve decided to create an extension for it. the extension will be added into all our dashboards and what the extensin will do is get the HTML language attribute, convert it to a language code and set the language variable.
until we find a better way.
thanks for all the feedback
i opted to accept both responses as solution as they kind of build towards our final solution.