Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
bobbydave
Creator III
Creator III

Button to change language

Language:

CrossTable(Language , Statement)

LOAD No,

     English,

     French

FROM

[$(vMapping)\Language_Translation.xlsx]

(ooxml, embedded labels, table is Sheet1);

I have a requirement to add additional functionality that will allow me to change the language

So I have multibox with 'English' and 'French.'

When I change from English to French, I want the Text Box (which is actioned to open Sheet01) to change to the corresponding translation.

I could write a simple 'if' statement to say

if( Language='English', 'Overview', 'Vue d'ensemble').

I just want to dress it up

Could I use a Match function?

2 Replies
marcus_sommer

I think this will be helpful: Handling Multiple Languages.

- Marcus

bouderbc
Creator
Creator

Hi ,

it's possible and very easy  you have to :

1. Create a variable v_language and set the variable to 0 for example (ctrl+alt+v)

2.Second step you have to create a buton for french language and a buton for english language 

3. Create an action for each buton and define the variable for english buton to 2 and 1 for the french language 

4. in each text box or object you have a section named "Disposition" you have to click on conditional and put the condition for your text box if( v_language =1,1,0) for the french text and do the same for the text in english 

Results : when you clik on the french language you see the french text and when you clik on the english language you see the english text 

Sincerly yours

Ali