title: forEach for switch cases in Angular5 (TypeScript)
body: <p>I got a simple array of languages and a switch function. I cant find a solution to use forEach on the cases. (Would be helpfull because there are alot languages outside in the world) ;)</p>
  
  <pre><code>public languages = ["en", "de"];
  public selectLanguage: string = "en";
  
  changeLanguageSelect() {
      switch (this.selectLanguage) {
          case "en":
              this.translate.use('en');
              break;
          case "de":
              this.translate.use('de');
              break;
      }
  }
  </code></pre>
  
  <p>There is not many more to say i think. I simply want to repeat with the <code>languages</code> array.</p>