Community Forum

Ask a Question
Back to All

Is there way to translate a variable?

Variables are great for numbers, names, and dates but I want to translate the variables. Let me give you an example:
Based on the answer user gives we change this language, if the user chooses "football", "baseball", "tennis"
The sentence becomes:
My hobbies are: football, baseball, tennis
There are many hobbies like that if we do not assign each "hobby" as a variable we have over 200 versions in the localize dashboard,
My hobbies are: football
My hobbies are: football, baseball
My hobbies are: baseball, tennis... and list goes over 200 items. We can generate variable tags in our code but variables do not get translated at the dashboard. My goal is to see something like that-> My hobbies are: {variable}, {variable} and each variable will be a different phrase so that we can translate that word.