How to manage multiple languages in an experience
Hi all,
I'm trying to find a way to manage multiple languages inside my experiences. I've been searching for a topic in the community from which get any ideas but I found nothing.
This is the solution I'm considering right now:
- A pop-up containing as many buttons as languages that allows the customer to change the language of all the strings inside the experience.
- All the strings values are determined by as many application parameters. Such app parameters are binded to the "TEXT" property of the label widget.
- Via JS code, I can determine the app parameters values. For example:
$scope.MY-APP-PARAM = function() {
$scope.app.params.MY-LABEL = "This is a sample text.";
}
- I noticed that it is possible to load .xlsx or .csv files in VS, so I was thinking about creating a language.xlsx or .csv file, load it and access it in order to determine the strings values depending on the language the customer choose.
Here comes my problem: my javascript is very poor and I'm not able to load the .xlsx or .csv file in my js script and I don't know how to access it.
Can anyone help me with the JS code or any idea to solve the problem?
Regards,
Stefano.

