Angular2 i18n language switcher without reboot

Everything in the header: I would like to change the user's language when he chooses a different one, without reinstalling the whole document .

So far, the only answers I have found is to reload the page with using location.reload(true)

, but I would like to dynamically change the user's language without reloading the whole document.

I followed the angular.io cookbook and everything works fine, I have a font select switch to change the language too, all I missed is how to dynamically change the user's language.

+3


source to share





All Articles