Translation when selecting the language



Good morning, I am using the plugin: I want my application to change the language is reflected instantly and that is what I do, but how do I store it, if the application does not change the language when I open it again? Also as I would do to not be repeating the imports of this module in all modules that I have and only call it once. IF someone can help me.


Use application-settings to store the selected language, retrieve language code on subsequent launch and load that into ngx-translate.

Use a shared module structure, so you don’t have to import the modules on each module.