Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Language Use

Godd morning,

I would like to use a translatios funtion betwen English and Spanish, in the Qlick View examples they are using the function below:

Languages:

LOAD Sprache as Language,

Sprache_Kurz as Language_Abbrev,

Sprache_Flag as Language_Flag

FROM Languages.qvd (qvd);

Translations:

LOAD EintragNr,

EN,

ES

FROM Word_List.qvd (qvd);

there is some way to find this file?

     Languages.qvd

     Word_List.qvd

I´ll appreciate your help...

1 Solution

Accepted Solutions
Not applicable
Author

Hi,

Using translations is easy.  You have to create a table with an  Id Column and as many columns as different languages:

Id     English     Spanish

1     Hello          Hola

2     ....               ...

Then, inside your application, use a variable to store the active language. When associating a string to an object, use the Id value instead of the string to refer the desired row of the table, and place and if to select the language depending on variable's value.

View solution in original post

1 Reply
Not applicable
Author

Hi,

Using translations is easy.  You have to create a table with an  Id Column and as many columns as different languages:

Id     English     Spanish

1     Hello          Hola

2     ....               ...

Then, inside your application, use a variable to store the active language. When associating a string to an object, use the Id value instead of the string to refer the desired row of the table, and place and if to select the language depending on variable's value.