I need help on building and deploying angular app with builtin i18n. I am able to build for multiple languages. My dist folder structure is like this
dist /app/es
the app folder contains default language bundle(en). I am able to switch to different languages by changing the url i.e /es the problem is I have to decide the language after the user logs in. from the login response I have to load the proper language from login.component.ts file. How do I achieve this? or what would be the best approach