I have some App Users that would function better if the app was in their own language is it possible to set user setting. Or can someone point me towards the information so I can learn it.
Solved! Go to Solution.
To make Enum values translatable, create a worksheet (or whatever) called (e.g.) enum values that defines the known Enum values and their translations:
Add the worksheet as a table. Read-only means Enum values and their translations need be managed in the sheet directly rather than in the app. You really don't want to risk users of the app messing with your Enum values and translations.
Setup the columns of the table. Setting their type to LongText allows for the possibility of multi-line translations even if most or even all are just a single line. Add a virtual column named (e.g.) label to receive the translation for the current user and make this column the row's label.
Use the label column's App formula to compute the translation for the current app user. This example expression uses USERLOCALE() to identify the current user's language preference, but you could just as easily use USERSETTINGS() or some other means. You might also prefer to use a different default result than [enum] if the user's preferred language isn't supported.
Setup an Enum-type column to use these translatable values. Set the allowable values to key column values in the enum values table. Set the Base type to Ref. Set Referenced table name to the enum values table.
I found a way to make it work
I created a table for each Language that has columns
Row Number
Expense Type German
Expense German
Then I added these columns for Enum in table expenses
Then made a show if usersettings(Language)= โGermanโ
User | Count |
---|---|
18 | |
15 | |
10 | |
7 | |
4 |