Hello, I need to create a landing page where the user can choose the language he wants on the first launch.
The steps are the following:
- launch app
- check if language is set in localstorage
- if not, show the language choosing page
- set the language in localstorage and a language global variable
- set the strings in the app based on this value
The problem is that the side menu loads before the global variable is set (when the user chooses) and so the strings in it are empty.