title: Why TranslateService Angular does not add current language to localStorage?
body: <p>I use this approach to set current language:</p>
  
  <pre><code>this.translate.addLangs(['en', 'es']);
  this.translate.setDefaultLang('en');
  this.translate.use(); // Get data from local Storage.
  </code></pre>
  
  <p>Object <code>environment</code> has data about languages, therefore it is not empty.</p>
  
  <p>So, before it had worked and added language property in local storage with selected language. Now does not work.</p>