How to make the Slice change Language

In the annualloadbook app the Language Change is working great except in one of the Reference  View. The data comes from the table {Expenses}, Slice {Expense HQ} The column that it uses from the slice is the Expense Column.

In the view for expenses the expense names do change language when the app user changes it. But not the names in the chart for the expense names.

The app view doesnโ€™t changeThe app view doesnโ€™t changeThe Ref viewThe Ref viewThe ref viewThe ref viewExpenses SliceExpenses SliceThe filter conditionThe filter conditionExpenses category totalsExpenses category totals

Solved Solved
1 11 309
2 ACCEPTED SOLUTIONS

You will need to make a nested switch statement in a virtual column that is used for the chart instead of expense. This will switch back and forth for your languages providing the correct label.

SWITCH(USERSETTINGS("language"),
"Spanish", SWITCH([expense], "tax", "impuesto", "lodge", "alojamiento", ""),
"Chinese", SWITCH([expense], "tax", "็จŽๆ”ถ", "lodge", "ไฝๅฎฟ", ""),   ""  ),
"French", SWITCH([expense], "tax", "impรดts", "lodge", "hรฉbergement", ""),   ""  )

Hope this helps!

View solution in original post

Don't know if you are willing to try that switch statement I ran it and it changed properly for the table. As Steve stated it might come down to that appsheets graphs choose the original name before language filters to display no matter user setting.

 

View solution in original post

11 REPLIES 11
Top Labels in this Space